8#ifndef META_OCEAN_INTERACTION_JS_ROTATION_H
9#define META_OCEAN_INTERACTION_JS_ROTATION_H
107 static inline const char* objectName();
This class implements the base class for all native wrapper of JavaScript objects.
Definition JSObject.h:31
This class implements a wrapper for a JavaScript Rotation object.
Definition JSRotation.h:28
static void createFunctionTemplate()
Creates the function template and object template for this object.
friend class JSLibrary
Definition JSRotation.h:30
AccessorId
Definition of ids for individual accessors.
Definition JSRotation.h:38
@ AI_X
The accessor for the x property, a number value.
Definition JSRotation.h:40
@ AI_AXIS
The accessor for the axis property, a Vector3 object.
Definition JSRotation.h:46
@ AI_Y
The accessor for the y property, a number value.
Definition JSRotation.h:42
@ AI_A
The accessor for the a property, a number value.
Definition JSRotation.h:48
@ AI_Z
The accessor for the z property, a number value.
Definition JSRotation.h:44
@ AI_ANGLE
The accessor for the angle property, a number value.
Definition JSRotation.h:50
FunctionId
Definition of ids for individual functions.
Definition JSRotation.h:57
@ FI_STRING
Returns a string with the values of this rotation.
Definition JSRotation.h:98
@ FI_INVERT
Inverts this rotation.
Definition JSRotation.h:64
@ FI_IS_EQUAL
Returns whether two rotation are equal up to some epsilon.
Definition JSRotation.h:80
@ FI_INVERTED
Returns the inverted rotation of this rotation.
Definition JSRotation.h:72
@ FI_MULTIPLY
Multiplies two rotations, mutiplies this rotation with a vector, or multiplies this rotation with a q...
Definition JSRotation.h:90
static const char * objectName()
Returns the JavaScript name of this object.
Definition JSRotation.h:117
RotationT< Scalar > Rotation
Definition of the Rotation object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION flag either with ...
Definition Rotation.h:32
Namespace of the Interaction JavaScript library.
Definition JavaScript.h:24
Namespace of the Interaction library.
Definition Empty.h:19
The namespace covering the entire Ocean framework.
Definition Accessor.h:15