8 #ifndef META_OCEAN_INTERACTION_JS_VECTOR_4_H
9 #define META_OCEAN_INTERACTION_JS_VECTOR_4_H
152 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 Vector4 object.
Definition: JSVector4.h:28
FunctionId
Definition of ids for individual functions.
Definition: JSVector4.h:53
@ FI_NORMALIZED
Returns the normalized vector of this vector, so that the new vector has unit length.
Definition: JSVector4.h:126
@ FI_ADD
Adds two vectors or adds a scalar value to this vector.
Definition: JSVector4.h:61
@ FI_LENGTH
Returns the length of this vector.
Definition: JSVector4.h:101
@ FI_NORMALIZE
Normalizes this vector so that the vector has unit length afterwards.
Definition: JSVector4.h:118
@ FI_STRING
Returns a string with the values of this vector.
Definition: JSVector4.h:134
@ FI_INVERT
Inverts this vector.
Definition: JSVector4.h:77
@ FI_IS_EQUAL
Returns whether two vectors are equal up to some epsilon.
Definition: JSVector4.h:93
@ FI_INVERTED
Returns the inverted vector of this vector.
Definition: JSVector4.h:85
@ FI_ANGLE
Determines the angle between two vectors in radian.
Definition: JSVector4.h:69
@ FI_MULTIPLY
Multiplies two vectors to determine the scalar product or multiplies this vector with a scalar.
Definition: JSVector4.h:110
AccessorId
Definition of ids for individual accessors.
Definition: JSVector4.h:38
@ AI_X
The accessor for the x property, a number value.
Definition: JSVector4.h:40
@ AI_Y
The accessor for the y property, a number value.
Definition: JSVector4.h:42
@ AI_Z
The accessor for the z property, a number value.
Definition: JSVector4.h:44
static void createFunctionTemplate()
Creates the function template and object template for this object.
static const char * objectName()
Returns the JavaScript name of this object.
Definition: JSVector4.h:162
This class implements a vector with four elements.
Definition: Vector4.h:97
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15