Gateware Libraries  R6.5A
Beta Build
GW::MATH Namespace Reference

The namespace to which all math library interface must belong. More...

Classes

class  GMatrix
 Matrix functions. More...
 
struct  GMATRIXD
 Matrix with 4 double vectors which represent for each row. More...
 
struct  GMATRIXF
 Matrix with 4 float vectors which represent for each row. More...
 
class  GQuaternion
 Quaternion functions. More...
 
struct  GQUATERNIOND
 Quaternion with 4 double elements. More...
 
struct  GQUATERNIONF
 Quaternion with 4 float elements. More...
 
class  GVector
 Vector functions. More...
 
struct  GVECTORD
 Vector with 4 double elements. More...
 
struct  GVECTORF
 To hold all math structs and variables. More...
 

Functions

GATEWARE_EXPORT_IMPLICIT GReturn CreateGMatrix (GMatrix **_outMatrix)
 end GMatrix class More...
 
GATEWARE_EXPORT_IMPLICIT GReturn CreateGQuaternion (GQuaternion **_outQuaternion)
 end GQuaternion class More...
 
GATEWARE_EXPORT_IMPLICIT GReturn CreateGVector (GVector **_outVector)
 end GVector class More...
 

Detailed Description

The namespace to which all math library interface must belong.

Function Documentation

◆ CreateGMatrix()

GATEWARE_EXPORT_IMPLICIT GReturn GW::MATH::CreateGMatrix ( GMatrix **  _outMatrix)

end GMatrix class

Creates and outputs a new GMatrix object.

Creates a new GVector object and store the object in _outMatrix.

Parameters
[out]_outMatrixThe GMatrix object
Return values
SUCCESSA GMatrix object was successfully created.
FAILUREA GMatrix object was not created. _outMatrix will be null.
INVALID_ARGUMENT_outMatrix is nullptr.

◆ CreateGQuaternion()

GATEWARE_EXPORT_IMPLICIT GReturn GW::MATH::CreateGQuaternion ( GQuaternion **  _outQuaternion)

end GQuaternion class

Creates and outputs a new GQuaternion object.

Creates a new GQuaternion object and store the object in _outQuaternion.

Parameters
[out]_outQuaternionThe GVector object
Return values
SUCCESSA GQuaternion object was successfully created.
FAILUREA GQuaternion object was not created. _outQuaternion will be null.
INVALID_ARGUMENT_outQuaternion is nullptr.

◆ CreateGVector()

GATEWARE_EXPORT_IMPLICIT GReturn GW::MATH::CreateGVector ( GVector **  _outVector)

end GVector class

Creates and outputs a new GVector object.

Creates a new GVector object and store the object in _outVector.

Parameters
[out]_outVectorThe GVector object
Return values
SUCCESSA GVector object was successfully created.
FAILUREA GVector object was not created. _outVector will be null.
INVALID_ARGUMENT_outVector is nullptr.