3 Functions

Procedure: box-empty ⇒ %return

A degenerate <GrapheneBox> that can only be expanded.

The returned value is owned by Graphene and should not be modified or freed.

%return

Returned: a <GrapheneBox>.

a <GrapheneBox>

Procedure: box-infinite ⇒ %return

A degenerate <GrapheneBox> that cannot be expanded.

The returned value is owned by Graphene and should not be modified or freed.

%return

Returned: a <GrapheneBox>.

a <GrapheneBox>

Procedure: box-minus-one ⇒ %return

A <GrapheneBox> with the minimum vertex set at (-1, -1, -1) and the maximum vertex set at (0, 0, 0).

The returned value is owned by Graphene and should not be modified or freed.

%return

Returned: a <GrapheneBox>.

a <GrapheneBox>

Procedure: box-one ⇒ %return

A <GrapheneBox> with the minimum vertex set at (0, 0, 0) and the maximum vertex set at (1, 1, 1).

The returned value is owned by Graphene and should not be modified or freed.

%return

Returned: a <GrapheneBox>.

a <GrapheneBox>

Procedure: box-one-minus-one ⇒ %return

A <GrapheneBox> with the minimum vertex set at (-1, -1, -1) and the maximum vertex set at (1, 1, 1).

The returned value is owned by Graphene and should not be modified or freed.

%return

Returned: a <GrapheneBox>.

a <GrapheneBox>

Procedure: box-zero ⇒ %return

A <GrapheneBox> with both the minimum and maximum vertices set at (0, 0, 0).

The returned value is owned by Graphene and should not be modified or freed.

%return

Returned: a <GrapheneBox>.

a <GrapheneBox>

Procedure: point-zero ⇒ %return

Returns a point fixed at (0, 0).

%return

Returned: a <GraphenePoint>.

a fixed point

Procedure: point3d-zero ⇒ %return

Retrieves a constant point with all three coordinates set to 0.

%return

Returned: a <GraphenePoint3D>.

a zero point

Procedure: rect-alloc ⇒ %return

Allocates a new <GrapheneRect>.

The contents of the returned rectangle are undefined.

%return

Returned: a <GrapheneRect>.

the newly allocated rectangle

Procedure: rect-zero ⇒ %return

Returns a degenerate rectangle with origin fixed at (0, 0) and a size of 0, 0.

%return

Returned: a <GrapheneRect>.

a fixed rectangle

Procedure: size-zero ⇒ %return

A constant pointer to a zero <GrapheneSize>, useful for equality checks and interpolations.

%return

Returned: a <GrapheneSize>.

a constant size

Procedure: vec2-one ⇒ %return

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

%return

Returned: a <GrapheneVec2>.

the one vector

Procedure: vec2-x-axis ⇒ %return

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

%return

Returned: a <GrapheneVec2>.

the X axis vector

Procedure: vec2-y-axis ⇒ %return

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

%return

Returned: a <GrapheneVec2>.

the Y axis vector

Procedure: vec2-zero ⇒ %return

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

%return

Returned: a <GrapheneVec2>.

the zero vector

Procedure: vec3-one ⇒ %return

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

%return

Returned: a <GrapheneVec3>.

a constant vector

Procedure: vec3-x-axis ⇒ %return

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

%return

Returned: a <GrapheneVec3>.

a constant vector

Procedure: vec3-y-axis ⇒ %return

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

%return

Returned: a <GrapheneVec3>.

a constant vector

Procedure: vec3-z-axis ⇒ %return

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

%return

Returned: a <GrapheneVec3>.

a constant vector

Procedure: vec3-zero ⇒ %return

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

%return

Returned: a <GrapheneVec3>.

a constant vector

Procedure: vec4-one ⇒ %return

Retrieves a pointer to a <GrapheneVec4> with all its components set to 1.

%return

Returned: a <GrapheneVec4>.

a constant vector

Procedure: vec4-w-axis ⇒ %return

Retrieves a pointer to a <GrapheneVec4> with its components set to (0, 0, 0, 1).

%return

Returned: a <GrapheneVec4>.

a constant vector

Procedure: vec4-x-axis ⇒ %return

Retrieves a pointer to a <GrapheneVec4> with its components set to (1, 0, 0, 0).

%return

Returned: a <GrapheneVec4>.

a constant vector

Procedure: vec4-y-axis ⇒ %return

Retrieves a pointer to a <GrapheneVec4> with its components set to (0, 1, 0, 0).

%return

Returned: a <GrapheneVec4>.

a constant vector

Procedure: vec4-z-axis ⇒ %return

Retrieves a pointer to a <GrapheneVec4> with its components set to (0, 0, 1, 0).

%return

Returned: a <GrapheneVec4>.

a constant vector

Procedure: vec4-zero ⇒ %return

Retrieves a pointer to a <GrapheneVec4> with all its components set to 0.

%return

Returned: a <GrapheneVec4>.

a constant vector