mark code-blocks in 2d/3d docs
This commit is contained in:
parent
50b4406694
commit
cd40137d1e
2 changed files with 4 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ import strutils
|
|||
##
|
||||
## Quick start example:
|
||||
##
|
||||
## .. code-block:: nim
|
||||
##
|
||||
## # Create a matrix which first rotates, then scales and at last translates
|
||||
##
|
||||
## var m:Matrix2d=rotate(DEG90) & scale(2.0) & move(100.0,200.0)
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@ import times
|
|||
##
|
||||
## Quick start example:
|
||||
##
|
||||
## .. code-block:: nim
|
||||
##
|
||||
## # Create a matrix which first rotates, then scales and at last translates
|
||||
##
|
||||
## var m:Matrix3d=rotate(PI,vector3d(1,1,2.5)) & scale(2.0) & move(100.0,200.0,300.0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue