| Package | com.transmote.flar.utils.geom |
| Class | public class FLARGeomUtils |
| Inheritance | FLARGeomUtils Object |
| Method | Defined By | ||
|---|---|---|---|
| FLARGeomUtils | |||
calcMatrix3DRotations(mat:Matrix3D, bInDegrees:Boolean = true, bMirrorHorizontal:Boolean = false):Vector3D [static]
Calculate rotation around X, Y, and Z axes,
and return stored in a Vector3D instance. | FLARGeomUtils | ||
dumpMatrix3D(matrix:Matrix3D, sd:int = 4):String [static]
Format Flash matrix as a String. | FLARGeomUtils | ||
| FLARGeomUtils | () | Constructor |
public function FLARGeomUtils()| calcMatrix3DRotations | () | method |
public static function calcMatrix3DRotations(mat:Matrix3D, bInDegrees:Boolean = true, bMirrorHorizontal:Boolean = false):Vector3DCalculate rotation around X, Y, and Z axes, and return stored in a Vector3D instance. NOTE: does not account for scale.
Parameters
mat:Matrix3D | |
bInDegrees:Boolean (default = true) | |
bMirrorHorizontal:Boolean (default = false) |
Vector3D |
| dumpMatrix3D | () | method |
public static function dumpMatrix3D(matrix:Matrix3D, sd:int = 4):StringFormat Flash matrix as a String.
Parameters
matrix:Matrix3D — matrix to return as a String.
| |
sd:int (default = 4) — number of significant digits to display.
|
String |