diff --git a/docs/api/math/Color.html b/docs/api/math/Color.html
index 3eb5ac649f86c10979b37713f762d97a87120501..982799fa1a931f8e72457d04d9d1d6c44db9d445 100644
--- a/docs/api/math/Color.html
+++ b/docs/api/math/Color.html
@@ -47,7 +47,7 @@
Methods
- .copy( [page:Color color] ) [page:this]
+ .copy( [page:Color color] ) [page:Color this]
color — Color to copy.
@@ -55,7 +55,7 @@
Copies given color.
- .copyGammaToLinear( [page:Color color] ) [page:this]
+ .copyGammaToLinear( [page:Color color] ) [page:Color this]
color — Color to copy.
@@ -63,7 +63,7 @@
Copies given color making conversion from gamma to linear space.
- .copyLinearToGamma( [page:Color color] ) [page:this]
+ .copyLinearToGamma( [page:Color color] ) [page:Color this]
color — Color to copy.
@@ -71,17 +71,17 @@
Copies given color making conversion from linear to gamma space.
- .convertGammaToLinear() [page:this]
+ .convertGammaToLinear() [page:Color this]
Converts this color from gamma to linear space.
- .convertLinearToGamma() [page:this]
+ .convertLinearToGamma() [page:Color this]
Converts this color from linear to gamma space.
- .setRGB( [page:Float r], [page:Float g], [page:Float b] ) [page:this]
+ .setRGB( [page:Float r], [page:Float g], [page:Float b] ) [page:Color this]
r — Red channel value between 0 and 1.
g — Green channel value between 0 and 1.
@@ -101,7 +101,7 @@
Returns the string formated hexadecimal value of this color.
- .setHex( [page:Integer hex] ) [page:this]
+ .setHex( [page:Integer hex] ) [page:Color this]
hex — Color in hexadecimal.
@@ -109,7 +109,7 @@
Sets this color from a hexadecimal value.
- .setStyle( [page:String style] ) [page:this]
+ .setStyle( [page:String style] ) [page:Color this]
style — color as a CSS-style string, for example, "rgb(250, 0,0)", "rgb(100%,0%,0%)", "#ff0000", "#f00", or "red"
@@ -122,7 +122,7 @@
Returns the value of this color as a CSS-style string. Example: rgb(255,0,0)
- .setHSL( [page:Float h], [page:Float s], [page:Float l] ) [page:this]
+ .setHSL( [page:Float h], [page:Float s], [page:Float l] ) [page:Color this]
h — hue value between 0.0 and 1.0
s — saturation value between 0.0 and 1.0
@@ -137,37 +137,37 @@
Returns an object with properties h, s, and l.
- .offsetHSL( [page:Float h], [page:Float s], [page:Float l] ) [page:this]
+ .offsetHSL( [page:Float h], [page:Float s], [page:Float l] ) [page:Color this]
Adds given h, s, and l to this color's existing h, s, and l values.
- .add ( [page:Color color] ) [page:this]
+ .add ( [page:Color color] ) [page:Color this]
Adds rgb values of given color to rgb values of this color
- .addColors( [page:Color color1], [page:Color color2] ) [page:this]
+ .addColors( [page:Color color1], [page:Color color2] ) [page:Color this]
Sets this color to the sum of color1 and color2
- .addScalar( [page:Number s] ) [page:this]
+ .addScalar( [page:Number s] ) [page:Color this]
Adds s to the rgb values of this color
- .multiply( [page:Color color] ) [page:this]
+ .multiply( [page:Color color] ) [page:Color this]
Multiplies this color's rgb values by given color's rgb values
- .multiplyScalar( [page:Number s] ) [page:this]
+ .multiplyScalar( [page:Number s] ) [page:Color this]
Multiplies this color's rgb values by s
- .lerp( [page:Color color], alpha ) [page:this]
+ .lerp( [page:Color color], alpha ) [page:Color this]
alpha -- a number between 0 and 1.
@@ -175,7 +175,7 @@
Linear interpolation of this colors rgb values and the rgb values of the first argument. The alpha argument can be thought of as the percent between the two colors, where 0 is this color and 1 is the first argument.
- .equals( [page:Color c] ) [page:this]
+ .equals( [page:Color c] ) [page:Color this]
Compares this color and c and returns true if they are the same, false otherwise.
@@ -185,9 +185,9 @@
Clones this color.
- .set([page:todo value]) [page:this]
+ .set( value ) [page:Color this]
- value -- either an instance of Color, a hexadecimal value, or a css style string
+ value -- either an instance of [page:Color], a [page:Integer hexadecimal] value, or a css style [page:String string]
Delegates to .copy, .setStyle, or .setHex depending on input type.
diff --git a/docs/api/math/Euler.html b/docs/api/math/Euler.html
index 1edc828c2fdd06c374c54a7763302e6fce19eaa8..99680835ab9dbe3b3fde455f6390c940fbcb7b9f 100644
--- a/docs/api/math/Euler.html
+++ b/docs/api/math/Euler.html
@@ -9,7 +9,10 @@
[name]
-
Euler Angles.
+
Euler Angles.
+
+ Euler angles describe a rotation transformation by rotating an object on its various axes in specified amounts per axis, and a specified axis order.
+ (More information on
Wikipedia)
Example
@@ -22,11 +25,11 @@
Constructor
-
[name]( [page:Float x], [page:Float y], [page:Float z], [page:String Order] )
+
[name]( [page:Float x], [page:Float y], [page:Float z], [page:String order] )
- x -- [page:Float] the angle of the x axis
- y -- [page:Float] the angle of the y axis
- z -- [page:Float] the angle of the z axis
+ x -- [page:Float] the angle of the x axis in radians
+ y -- [page:Float] the angle of the y axis in radians
+ z -- [page:Float] the angle of the z axis in radians
order -- [page:String] A string representing the order that the rotations are applied, defaults to 'XYZ' (must be upper case).
@@ -48,23 +51,23 @@
Methods
-
.set( [page:Float x], [page:Float y], [page:Float z], [page:String order] ) [page:this]
+
.set( [page:Float x], [page:Float y], [page:Float z], [page:String order] ) [page:Euler this]
- x -- [page:Float] Angle in x axis
- x -- [page:Float] Angle in x axis
- x -- [page:Float] Angle in x axis
+ x -- [page:Float] Angle in x axis in radians
+ x -- [page:Float] Angle in x axis in radians
+ x -- [page:Float] Angle in x axis in radians
order -- [page:string] Order of axes, defaults to 'XYZ' (must be upper case)
Sets the angles of this euler transform.
-
.copy( [page:Euler euler] ) [page:this]
+
.copy( [page:Euler euler] ) [page:Euler this]
Copies value of *euler* to this euler.
-
.setFromRotationMatrix( [page:Matrix4 m], [page:String order] ) [page:this]
+
.setFromRotationMatrix( [page:Matrix4 m], [page:String order] ) [page:Euler this]
m -- [page:Matrix4] assumes upper 3x3 of matrix is a pure rotation matrix (i.e. unscaled)
order -- [page:string] Order of axes, defaults to 'XYZ' (must be upper case)
@@ -73,7 +76,7 @@
Sets the angles of this euler transform from a pure rotation matrix based on the orientation specified by order.
-
.setFromQuaternion( [page:Quaternion q], [page:String order] ) [page:this]
+
.setFromQuaternion( [page:Quaternion q], [page:String order] ) [page:Euler this]
q -- [page:Quaternion] quaternion must be normalized
order -- [page:string] Order of axes, defaults to 'XYZ' (must be upper case)
@@ -82,13 +85,13 @@
Sets the angles of this euler transform from a normalized quaternion based on the orientation specified by order.
-
.reorder( [page:String newOrder] ) [page:this]
+
.reorder( [page:String newOrder] ) [page:Euler this]
Resets the euler angle with a new order by creating a quaternion from this euler angle and then setting this euler angle with the quaternion and the new order.
WARNING: this discards revolution information.
-
.fromArray([page:Array array]) [page:this]
+
.fromArray([page:Array array]) [page:Euler this]
array -- [page:Array] of length 3 or 4. array[3] is an optional order argument.
diff --git a/docs/api/math/Frustum.html b/docs/api/math/Frustum.html
index 8f883714a3a0b1ec2a122f0ff90dc54ac615a158..810a51e54ae933d50ad9f1fbcdf3e397086a5490 100644
--- a/docs/api/math/Frustum.html
+++ b/docs/api/math/Frustum.html
@@ -15,17 +15,17 @@
Constructor
-
[name]([page:todo p0], [page:todo p1], [page:todo p2], [page:todo p3], [page:todo p4], [page:todo p5])
+
[name]([page:Plane p0], [page:Plane p1], [page:Plane p2], [page:Plane p3], [page:Plane p4], [page:Plane p5])
- p0 -- todo
- p1 -- todo
- p2 -- todo
- p3 -- todo
- p4 -- todo
- p5 -- todo
+ p0 -- [page:Plane]
+ p1 -- [page:Plane]
+ p2 -- [page:Plane]
+ p3 -- [page:Plane]
+ p4 -- [page:Plane]
+ p5 -- [page:Plane]
- todo
+ Creates a frustum from the designated planes.
@@ -33,7 +33,7 @@
.[page:Array planes]
- Array of 6 [page:Vector4 vectors].
+ Array of 6 [page:Plane planes].
@@ -46,46 +46,46 @@
Checks whether the object is inside the Frustum.
-
.clone() [page:todo]
+
.clone() [page:Frustum]
- todo
+ Return a copy of this Frustum
-
.set([page:todo p0], [page:todo p1], [page:todo p2], [page:todo p3], [page:todo p4], [page:todo p5]) [page:todo]
+
.set([page:Plane p0], [page:Plane p1], [page:Plane p2], [page:Plane p3], [page:Plane p4], [page:Plane p5]) [page:Boolean]
- p0 -- todo
- p1 -- todo
- p2 -- todo
- p3 -- todo
- p4 -- todo
- p5 -- todo
+ p0 -- [page:Plane]
+ p1 -- [page:Plane]
+ p2 -- [page:Plane]
+ p3 -- [page:Plane]
+ p4 -- [page:Plane]
+ p5 -- [page:Plane]
todo
-
.copy([page:todo frustum]) [page:todo]
+
.copy([page:Frustum frustum]) [page:Frustum this]
- frustum -- todo
+ frustum -- The frustum to copy
todo
-
.containsPoint([page:todo point]) [page:todo]
+
.containsPoint([page:Vector3 point]) [page:Boolean]
- point -- todo
+ point -- [page:Vector3] to test
- todo
+ Checks to see if the frustum contains the point.
-
.intersectsSphere([page:todo sphere]) [page:todo]
+
.intersectsSphere([page:Sphere sphere]) [page:Boolean]
- sphere -- todo
+ sphere -- [page:Sphere]
- todo
+ Check to see if the sphere intersects with the frustum.
Source
diff --git a/docs/api/math/Math.html b/docs/api/math/Math.html
index 35bae92ba4213693da081e996dc6b3be1e856bfa..478facda502792393a5edaa15a5cd6f1f64d210a 100644
--- a/docs/api/math/Math.html
+++ b/docs/api/math/Math.html
@@ -72,42 +72,44 @@
Returns -1 if *x* is less than 0, 1 if *x* is greater than 0, and 0 if *x* is zero.
- .degToRad([page:todo degrees]) [page:todo]
+ .degToRad([page:Float degrees]) [page:Float]
- degrees -- todo
+ degrees -- [page:Float]
- todo
+ Converts degrees to radians.
- .smoothstep([page:todo x], [page:todo min], [page:todo max]) [page:todo]
+ .radToDeg([page:Float radians]) [page:Float]
- x -- todo
- min -- todo
- max -- todo
+ radians -- [page:Float]
- todo
+ Converts radians to degrees
- .smootherstep([page:todo x], [page:todo min], [page:todo max]) [page:todo]
+ .smoothstep([page:Float x], [page:Float min], [page:Float max]) [page:Float]
- x -- todo
- min -- todo
- max -- todo
+ x -- The value to evaluate based on its position between min and max.
+ min -- Any x value below min will be 0
+ max -- Any x value above max will be 1
- todo
+ Returns a value between 0-1 that represents the percentage that x has moved between min and max, but smoothed or slowed down the closer X is to the min and max.
+
+ [link:http://en.wikipedia.org/wiki/Smoothstep Wikipedia]
- .radToDeg([page:todo radians]) [page:todo]
+ .smootherstep([page:Float x], [page:Float min], [page:Float max]) [page:Float]
- radians -- todo
+ x -- The value to evaluate based on its position between min and max.
+ min -- Any x value below min will be 0
+ max -- Any x value above max will be 1
- todo
+ Returns a value between 0-1. It works the same as smoothstep, but more smooth.
-
+
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
diff --git a/docs/api/math/Matrix3.html b/docs/api/math/Matrix3.html
index 5ce49fbda2d9be5a0e742f37664d38eaca31aa81..79b40a5ed14e4881bf8f1d5f0154999b7f8e235c 100644
--- a/docs/api/math/Matrix3.html
+++ b/docs/api/math/Matrix3.html
@@ -15,20 +15,26 @@
Constructor
- [name]([page:todo n11], [page:todo n12], [page:todo n13], [page:todo n21], [page:todo n22], [page:todo n23], [page:todo n31], [page:todo n32], [page:todo n33])
+ [name]([page:Float n11], [page:Float n12], [page:Float n13], [page:Float n21], [page:Float n22], [page:Float n23], [page:Float n31], [page:Float n32], [page:Float n33])
- n11 -- todo
- n12 -- todo
- n13 -- todo
- n21 -- todo
- n22 -- todo
- n23 -- todo
- n31 -- todo
- n32 -- todo
- n33 -- todo
+ n11 -- [page:Float]
+ n12 -- [page:Float]
+ n13 -- [page:Float]
+ n21 -- [page:Float]
+ n22 -- [page:Float]
+ n23 -- [page:Float]
+ n31 -- [page:Float]
+ n32 -- [page:Float]
+ n33 -- [page:Float]
- Initialize the 3x3 matrix with a row-major sequence of values.
+ Initialize the 3x3 matrix with a row-major sequence of values.
+
+ n11, n12, n13,
+ n21, n22, n23,
+ n31, n32, n33
+
+ If no values are sent the matrix will be initialized as an identity matrix.
@@ -48,82 +54,89 @@
Transposes this matrix in place.
- .transposeIntoArray( [page:Array r] ) [page:Matrix3]
+ .transposeIntoArray( [page:Array array] ) [page:Matrix3]
- Transposes this matrix into the supplied array *r*, and returns itself.
+ array -- [page:Array]
+
+
+ Transposes this matrix into the supplied array, and returns itself.
- .determinant() [page:todo]
+ .determinant() [page:Float]
- todo
+ Returns the matrix's determinant.
- .set([page:todo n11], [page:todo n12], [page:todo n13], [page:todo n21], [page:todo n22], [page:todo n23], [page:todo n31], [page:todo n32], [page:todo n33]) [page:todo]
+ .set([page:Float n11], [page:Float n12], [page:Float n13], [page:Float n21], [page:Float n22], [page:Float n23], [page:Float n31], [page:Float n32], [page:Float n33]) [page:Matrix3 this]
- n11 -- todo
- n12 -- todo
- n13 -- todo
- n21 -- todo
- n22 -- todo
- n23 -- todo
- n31 -- todo
- n32 -- todo
- n33 -- todo
+ n11 -- [page:Float]
+ n12 -- [page:Float]
+ n13 -- [page:Float]
+ n21 -- [page:Float]
+ n22 -- [page:Float]
+ n23 -- [page:Float]
+ n31 -- [page:Float]
+ n32 -- [page:Float]
+ n33 -- [page:Float]
Set the 3x3 matrix values to the given row-major sequence of values.
- .multiplyScalar([page:todo s]) [page:todo]
+ .multiplyScalar([page:Float scalar]) [page:Matrix3 this]
- s -- todo
+ scalar -- [page:Float]
- todo
+ Multiply every component of the matrix by a scalar value.
- .multiplyVector3Array([page:todo a]) [page:todo]
+ .multiplyVector3Array([page:Array array]) [page:Array]
- a -- todo
+ array -- An array in the form [vector1x, vector1y, vector1z, vector2x, vector2y, vector2z, ...]
- todo
+ Multiply (apply) this matrix against every vector3 in the array.
- .getNormalMatrix([page:todo m]) [page:todo]
+ .getNormalMatrix([page:Matrix4 matrix4]) [page:Matrix3 this]
- m -- todo
+ matrix4 -- [page:Matrix4]
- todo
+ Set this matrix as the normal matrix of the passed [page:Matrix4 matrix4]. The normal matrix is the inverse transpose of the matrix.
- .getInverse([page:todo matrix], [page:todo throwOnInvertible]) [page:todo]
+ .getInverse([page:Matrix4 matrix4], [page:Boolean throwOnInvertible]) [page:Matrix3 this]
- matrix -- todo
- throwOnInvertible -- todo
+ matrix4 -- [page:Matrix4]
+ throwOnInvertible -- [Page:Boolean] If true, throw an error if the matrix is invertible.
- todo
+ Set this matrix to the inverse of the passed matrix.
- .copy([page:todo m]) [page:todo]
+ .copy([page:Matrix3 matrix]) [page:Matrix3 this]
- m -- todo
+ matrix -- [page:Matrix3]
- todo
+ Copy the values of the passed matrix.
- .clone() [page:todo]
+ .clone() [page:Matrix3]
- todo
+ Create a copy of the matrix.
- .identity() [page:todo]
+ .identity() [page:Matrix3 this]
- todo
+ Set as an identity matrix.
+
+ 1, 0, 0
+ 0, 1, 0
+ 0, 0, 1
Source
diff --git a/docs/api/math/Matrix4.html b/docs/api/math/Matrix4.html
index 276c59a922ad5a004467fc68b6809aabecb0cb99..4cf3989c7e9f2e681687b4e016620cb99cd77ab5 100644
--- a/docs/api/math/Matrix4.html
+++ b/docs/api/math/Matrix4.html
@@ -51,53 +51,53 @@
Methods
- .set( [page:Float n11], [page:Float n12], [page:Float n13], [page:Float n14], [page:Float n21], [page:Float n22], [page:Float n23], [page:Float n24], [page:Float n31], [page:Float n32], [page:Float n33], [page:Float n34], [page:Float n41], [page:Float n42], [page:Float n43], [page:Float n44] ) [page:Matrix4]
+ .set( [page:Float n11], [page:Float n12], [page:Float n13], [page:Float n14], [page:Float n21], [page:Float n22], [page:Float n23], [page:Float n24], [page:Float n31], [page:Float n32], [page:Float n33], [page:Float n34], [page:Float n41], [page:Float n42], [page:Float n43], [page:Float n44] ) [page:Matrix4 this]
Sets all fields of this matrix to the supplied row-major values n11..n44.
- .identity() [page:Matrix4]
+ .identity() [page:Matrix4 this]
Resets this matrix to identity.
- .copy( [page:Matrix4 m] ) [page:Matrix4]
+ .copy( [page:Matrix4 m] ) [page:Matrix4 this]
Copies a matrix *m* into this matrix.
- .copyPosition( [page:Matrix4 m] ) [page:Matrix4]
+ .copyPosition( [page:Matrix4 m] ) [page:Matrix4 this]
Copies the translation component of the supplied matrix *m* into this matrix translation component.
- .extractRotation( [page:Matrix4 m] ) [page:Matrix4]
+ .extractRotation( [page:Matrix4 m] ) [page:Matrix4 this]
Extracts the rotation of the supplied matrix *m* into this matrix rotation component.
- .lookAt( [page:Vector3 eye], [page:Vector3 center], [page:Vector3 up], ) [page:Matrix4]
+ .lookAt( [page:Vector3 eye], [page:Vector3 center], [page:Vector3 up], ) [page:Matrix4 this]
Constructs a rotation matrix, looking from *eye* towards *center* with defined *up* vector.
- .multiply( [page:Matrix4 m] ) [page:Matrix4]
+ .multiply( [page:Matrix4 m] ) [page:Matrix4 this]
Multiplies this matrix by *m*.
- .multiplyMatrices( [page:Matrix4 a], [page:Matrix4 b] ) [page:Matrix4]
+ .multiplyMatrices( [page:Matrix4 a], [page:Matrix4 b] ) [page:Matrix4 this]
Sets this matrix to *a x b*.
- .multiplyToArray( [page:Matrix4 a], [page:Matrix4 b], [page:Array r] ) [page:Matrix4]
+ .multiplyToArray( [page:Matrix4 a], [page:Matrix4 b], [page:Array r] ) [page:Matrix4 this]
Sets this matrix to *a x b* and stores the result into the flat array *r*.
*r* can be either a regular Array or a TypedArray.
- .multiplyScalar( [page:Float s] ) [page:Matrix4]
+ .multiplyScalar( [page:Float s] ) [page:Matrix4 this]
Multiplies this matrix by *s*.
@@ -108,7 +108,7 @@
Based on [link:http://www.euclideanspace.com/maths/algebra/matrix/functions/inverse/fourD/index.htm]
- .transpose() [page:Matrix4]
+ .transpose() [page:Matrix4 this]
Transposes this matrix.
@@ -123,18 +123,18 @@
Flattens this matrix into supplied *flat* array starting from *offset* position in the array.
- .setPosition( [page:Vector3 v] ) [page:Matrix4]
+ .setPosition( [page:Vector3 v] ) [page:Matrix4 this]
Sets the position component for this matrix from vector *v*.
- .getInverse( [page:Matrix4 m] ) [page:Matrix4]
+ .getInverse( [page:Matrix4 m] ) [page:Matrix4 this]
Sets this matrix to the inverse of matrix *m*.
Based on [link:http://www.euclideanspace.com/maths/algebra/matrix/functions/inverse/fourD/index.htm].
- .makeRotationFromEuler( [page:Vector3 v], [page:String order] ) [page:Matrix4]
+ .makeRotationFromEuler( [page:Vector3 v], [page:String order] ) [page:Matrix4 this]
v — Rotation vector.
order — The order of rotations. Eg. "XYZ".
@@ -144,17 +144,17 @@
Default order is *"XYZ"*.
- .makeRotationFromQuaternion( [page:Quaternion q] ) [page:Matrix4]
+ .makeRotationFromQuaternion( [page:Quaternion q] ) [page:Matrix4 this]
Sets the rotation submatrix of this matrix to the rotation specified by *q*. The rest of the matrix is identity.
- .scale( [page:Vector3 v] ) [page:Matrix4]
+ .scale( [page:Vector3 v] ) [page:Matrix4 this]
Multiplies the columns of this matrix by vector *v*.
- .compose( [page:Vector3 translation], [page:Quaternion quaternion], [page:Vector3 scale] ) [page:Matrix4]
+ .compose( [page:Vector3 translation], [page:Quaternion quaternion], [page:Vector3 scale] ) [page:Matrix4 this]
Sets this matrix to the transformation composed of *translation*, *quaternion* and *scale*.
@@ -165,12 +165,12 @@
If parameters are not passed, new instances will be created.
- .makeTranslation( [page:Float x], [page:Float y], [page:Float z] ) [page:Matrix4]
+ .makeTranslation( [page:Float x], [page:Float y], [page:Float z] ) [page:Matrix4 this]
Sets this matrix as translation transform.
- .makeRotationX( [page:Float theta] ) [page:Matrix4]
+ .makeRotationX( [page:Float theta] ) [page:Matrix4 this]
theta — Rotation angle in radians.
@@ -178,7 +178,7 @@
Sets this matrix as rotation transform around x axis by *theta* radians.
- .makeRotationY( [page:Float theta] ) [page:Matrix4]
+ .makeRotationY( [page:Float theta] ) [page:Matrix4 this]
theta — Rotation angle in radians.
@@ -186,7 +186,7 @@
Sets this matrix as rotation transform around y axis by *theta* radians.
- .makeRotationZ( [page:Float theta] ) [page:Matrix4]
+ .makeRotationZ( [page:Float theta] ) [page:Matrix4 this]
theta — Rotation angle in radians.
@@ -194,7 +194,7 @@
Sets this matrix as rotation transform around z axis by *theta* radians.
- .makeRotationAxis( [page:Vector3 axis], [page:Float theta] ) [page:Matrix4]
+ .makeRotationAxis( [page:Vector3 axis], [page:Float theta] ) [page:Matrix4 this]
axis — Rotation axis, should be normalized.
theta — Rotation angle in radians.
@@ -204,22 +204,22 @@
Based on [link:http://www.gamedev.net/reference/articles/article1199.asp].
- .makeScale( [page:Float x], [page:Float y], [page:Float z] ) [page:Matrix4]
+ .makeScale( [page:Float x], [page:Float y], [page:Float z] ) [page:Matrix4 this]
Sets this matrix as scale transform.
- .makeFrustum( [page:Float left], [page:Float right], [page:Float bottom], [page:Float top], [page:Float near], [page:Float far] ) [page:Matrix4]
+ .makeFrustum( [page:Float left], [page:Float right], [page:Float bottom], [page:Float top], [page:Float near], [page:Float far] ) [page:Matrix4 this]
Creates a [page:Frustum frustum] matrix.
- .makePerspective( [page:Float fov], [page:Float aspect], [page:Float near], [page:Float far] ) [page:Matrix4]
+ .makePerspective( [page:Float fov], [page:Float aspect], [page:Float near], [page:Float far] ) [page:Matrix4 this]
Creates a perspective projection matrix.
- .makeOrthographic( [page:Float left], [page:Float right], [page:Float bottom], [page:Float top], [page:Float near], [page:Float far] ) [page:Matrix4]
+ .makeOrthographic( [page:Float left], [page:Float right], [page:Float bottom], [page:Float top], [page:Float near], [page:Float far] ) [page:Matrix4 this]
Creates an orthographic projection matrix.
@@ -229,17 +229,17 @@
Clones this matrix.
- .multiplyVector3Array([page:todo a]) [page:todo]
+ .multiplyVector3Array([page:Array a]) [page:Array]
- a -- todo
+ array -- An array in the form [vector1x, vector1y, vector1z, vector2x, vector2y, vector2z, ...]
- todo
+ Multiply (apply) this matrix against every vector3 in the array.
- .getMaxScaleOnAxis() [page:todo]
+ .getMaxScaleOnAxis() [page:Float]
- todo
+ Gets the max scale value of the 3 axes.
Source