8 #ifndef META_OCEAN_INTERACTION_JS_QUATERNION_H
9 #define META_OCEAN_INTERACTION_JS_QUATERNION_H
111 static inline const char* objectName();
This class implements the java script interaction library object.
Definition: JSLibrary.h:32
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 Quaternion object.
Definition: JSQuaternion.h:28
AccessorId
Definition of ids for individual accessors.
Definition: JSQuaternion.h:38
@ AI_X
The accessor for the x property, a number value.
Definition: JSQuaternion.h:40
@ AI_Y
The accessor for the y property, a number value.
Definition: JSQuaternion.h:42
@ AI_Z
The accessor for the z property, a number value.
Definition: JSQuaternion.h:44
static const char * objectName()
Returns the JavaScript name of this object.
Definition: JSQuaternion.h:121
static void createFunctionTemplate()
Creates the function template and object template for this object.
FunctionId
Definition of ids for individual functions.
Definition: JSQuaternion.h:53
@ FI_MULTIPLY
Multiplies two quaternions, mutiplies this quaternion with a vector, or multiplies this quaternion wi...
Definition: JSQuaternion.h:86
@ FI_INVERTED
Returns the inverted quaternion of this quaternion.
Definition: JSQuaternion.h:68
@ FI_IS_EQUAL
Returns whether two quaternion are equal up to some epsilon.
Definition: JSQuaternion.h:76
@ FI_SLERP
Returns an interpolated quaternion.
Definition: JSQuaternion.h:94
@ FI_INVERT
Inverts this quaternion.
Definition: JSQuaternion.h:60
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15