diff --git a/build/docs.sh b/build/docs.sh index 790e7579..b963021d 100755 --- a/build/docs.sh +++ b/build/docs.sh @@ -24,7 +24,8 @@ else fi cd jsdoc-toolkit -java -jar jsrun.jar app/run.js -c=conf/$MODE.conf -D="renderMode:$MODE" +# TODO: jsdoc2 -c=conf/$MODE.conf -D="renderMode:$MODE" +java -cp jsrun.jar:lib/* JsRun app/run.js -c=conf/$MODE.conf -D="renderMode:$MODE" cd .. if [ $MODE = "docs" ] diff --git a/build/jsdoc-toolkit b/build/jsdoc-toolkit index 38c2412e..7e4f5ce2 160000 --- a/build/jsdoc-toolkit +++ b/build/jsdoc-toolkit @@ -1 +1 @@ -Subproject commit 38c2412ed3a7db867906f218e20d2a220c4bda03 +Subproject commit 7e4f5ce24f6e88130f8a87261d6491f0c036757a diff --git a/src/basic/Matrix.js b/src/basic/Matrix.js index 73b69120..f89892c7 100644 --- a/src/basic/Matrix.js +++ b/src/basic/Matrix.js @@ -27,11 +27,10 @@ * transforms source coordinates (x,y) into destination coordinates (x',y') * by considering them to be a column vector and multiplying the coordinate * vector by the matrix according to the following process: - *
- * [ x ] [ a b tx ] [ x ] [ a * x + b * y + tx ] - * [ y ] = [ c d ty ] [ y ] = [ c * x + d * y + ty ] - * [ 1 ] [ 0 0 1 ] [ 1 ] [ 1 ] - *+ * + * [ x ] [ a b tx ] [ x ] [ a * x + b * y + tx ] + * [ y ] = [ c d ty ] [ y ] = [ c * x + d * y + ty ] + * [ 1 ] [ 0 0 1 ] [ 1 ] [ 1 ] * * This class is optimized for speed and minimizes calculations based on its * knowledge of the underlying matrix (as opposed to say simply performing