Packagecom.transmote.flar.utils.geom
Classpublic class FLARSandyGeomUtils

matrix conversion courtesy of makc: http://makc3d.wordpress.com/2009/03/17/sandy-augmented-reality/



Public Methods
 MethodDefined by
  
FLARSandyGeomUtils
  
convertFLARMatrixToSandyMatrix(fm:FLARDoubleMatrix34, bMirror:Boolean = true):Matrix4
[static] convert a FLARToolkit matrix to a Sandy3D matrix.
FLARSandyGeomUtils
Constructor detail
FLARSandyGeomUtils()constructor
public function FLARSandyGeomUtils()
Method detail
convertFLARMatrixToSandyMatrix()method
public static function convertFLARMatrixToSandyMatrix(fm:FLARDoubleMatrix34, bMirror:Boolean = true):Matrix4

convert a FLARToolkit matrix to a Sandy3D matrix.

Parameters
fm:FLARDoubleMatrix34 — FLARToolkit FLARDoubleMatrix34 to convert.
 
bMirror:Boolean (default = true) — if true, this method will flip the resultant matrix horizontally (along the y-axis).

Returns
Matrix4 — Sandy3D Matrix4 generated from the FLARToolkit matrix.