About all my projects
NO_TITLE

NO_TITLE

Gnome::Graphene::T-Vec2

Class initialization

new

Initialization of a type class is simple and only needed when the standalone functions are used.

method new ( )

Standalone Functions

vec2-one

Retrieves a constant vector with (1, 1) components.

method vec2-one (--> CArray[N-Vec2] )

Return value; the one vector.

vec2-x-axis

Retrieves a constant vector with (1, 0) components.

method vec2-x-axis (--> CArray[N-Vec2] )

Return value; the X axis vector.

vec2-y-axis

Retrieves a constant vector with (0, 1) components.

method vec2-y-axis (--> CArray[N-Vec2] )

Return value; the Y axis vector.

vec2-zero

Retrieves a constant vector with (0, 0) components.

method vec2-zero (--> CArray[N-Vec2] )

Return value; the zero vector.

vec3-one

Provides a constant pointer to a vector with three components, all sets to 1.

method vec3-one (--> CArray[N-Vec3] )

Return value; a constant vector.

vec3-x-axis

Provides a constant pointer to a vector with three components with values set to (1, 0, 0).

method vec3-x-axis (--> CArray[N-Vec3] )

Return value; a constant vector.

vec3-y-axis

Provides a constant pointer to a vector with three components with values set to (0, 1, 0).

method vec3-y-axis (--> CArray[N-Vec3] )

Return value; a constant vector.

vec3-z-axis

Provides a constant pointer to a vector with three components with values set to (0, 0, 1).

method vec3-z-axis (--> CArray[N-Vec3] )

Return value; a constant vector.

vec3-zero

Provides a constant pointer to a vector with three components, all sets to 0.

method vec3-zero (--> CArray[N-Vec3] )

Return value; a constant vector.

vec4-one

Retrieves a pointer to a #graphene_vec4_t with all its components set to 1.

method vec4-one (--> CArray[N-Vec4] )

Return value; a constant vector.

vec4-w-axis

Retrieves a pointer to a #graphene_vec4_t with its components set to (0, 0, 0, 1).

method vec4-w-axis (--> CArray[N-Vec4] )

Return value; a constant vector.

vec4-x-axis

Retrieves a pointer to a #graphene_vec4_t with its components set to (1, 0, 0, 0).

method vec4-x-axis (--> CArray[N-Vec4] )

Return value; a constant vector.

vec4-y-axis

Retrieves a pointer to a #graphene_vec4_t with its components set to (0, 1, 0, 0).

method vec4-y-axis (--> CArray[N-Vec4] )

Return value; a constant vector.

vec4-z-axis

Retrieves a pointer to a #graphene_vec4_t with its components set to (0, 0, 1, 0).

method vec4-z-axis (--> CArray[N-Vec4] )

Return value; a constant vector.

vec4-zero

Retrieves a pointer to a #graphene_vec4_t with all its components set to 0.

method vec4-zero (--> CArray[N-Vec4] )

Return value; a constant vector.