mark code-blocks in 2d/3d docs

This commit is contained in:
Aman Gupta
2015-09-20 18:24:49 -07:00
parent 50b4406694
commit cd40137d1e
2 changed files with 4 additions and 0 deletions

View File

@@ -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)

View File

@@ -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)