6.8. glm

The glm module exports the basic vector and matrix types as well as related arithmetic operations which mimic the features available to shaders written in the GL shader language.

typebmat2

A plain type labeled bmat2x2 of supertype mat-type and of storage type [bvec2 x 2].

typebmat2x2

A plain type of supertype mat-type and of storage type [bvec2 x 2].

typebmat2x3

A plain type of supertype mat-type and of storage type [bvec3 x 2].

typebmat2x4

A plain type of supertype mat-type and of storage type [bvec4 x 2].

typebmat3

A plain type labeled bmat3x3 of supertype mat-type and of storage type [bvec3 x 3].

typebmat3x2

A plain type of supertype mat-type and of storage type [bvec2 x 3].

typebmat3x3

A plain type of supertype mat-type and of storage type [bvec3 x 3].

typebmat3x4

A plain type of supertype mat-type and of storage type [bvec4 x 3].

typebmat4

A plain type labeled bmat4x4 of supertype mat-type and of storage type [bvec4 x 4].

typebmat4x2

A plain type of supertype mat-type and of storage type [bvec2 x 4].

typebmat4x3

A plain type of supertype mat-type and of storage type [bvec3 x 4].

typebmat4x4

A plain type of supertype mat-type and of storage type [bvec4 x 4].

typebvec2

A plain type of supertype gvec2 and of storage type <bool x 2>.

typebvec3

A plain type of supertype gvec3 and of storage type <bool x 3>.

typebvec4

A plain type of supertype gvec4 and of storage type <bool x 4>.

typedmat2

A plain type labeled dmat2x2 of supertype mat-type and of storage type [dvec2 x 2].

typedmat2x2

A plain type of supertype mat-type and of storage type [dvec2 x 2].

typedmat2x3

A plain type of supertype mat-type and of storage type [dvec3 x 2].

typedmat2x4

A plain type of supertype mat-type and of storage type [dvec4 x 2].

typedmat3

A plain type labeled dmat3x3 of supertype mat-type and of storage type [dvec3 x 3].

typedmat3x2

A plain type of supertype mat-type and of storage type [dvec2 x 3].

typedmat3x3

A plain type of supertype mat-type and of storage type [dvec3 x 3].

typedmat3x4

A plain type of supertype mat-type and of storage type [dvec4 x 3].

typedmat4

A plain type labeled dmat4x4 of supertype mat-type and of storage type [dvec4 x 4].

typedmat4x2

A plain type of supertype mat-type and of storage type [dvec2 x 4].

typedmat4x3

A plain type of supertype mat-type and of storage type [dvec3 x 4].

typedmat4x4

A plain type of supertype mat-type and of storage type [dvec4 x 4].

typedvec2

A plain type of supertype gvec2 and of storage type <f64 x 2>.

typedvec3

A plain type of supertype gvec3 and of storage type <f64 x 3>.

typedvec4

A plain type of supertype gvec4 and of storage type <f64 x 4>.

typegvec2

An opaque type of supertype vec-type.

typegvec3

An opaque type of supertype vec-type.

typegvec4

An opaque type of supertype vec-type.

typeimat2

A plain type labeled imat2x2 of supertype mat-type and of storage type [ivec2 x 2].

typeimat2x2

A plain type of supertype mat-type and of storage type [ivec2 x 2].

typeimat2x3

A plain type of supertype mat-type and of storage type [ivec3 x 2].

typeimat2x4

A plain type of supertype mat-type and of storage type [ivec4 x 2].

typeimat3

A plain type labeled imat3x3 of supertype mat-type and of storage type [ivec3 x 3].

typeimat3x2

A plain type of supertype mat-type and of storage type [ivec2 x 3].

typeimat3x3

A plain type of supertype mat-type and of storage type [ivec3 x 3].

typeimat3x4

A plain type of supertype mat-type and of storage type [ivec4 x 3].

typeimat4

A plain type labeled imat4x4 of supertype mat-type and of storage type [ivec4 x 4].

typeimat4x2

A plain type of supertype mat-type and of storage type [ivec2 x 4].

typeimat4x3

A plain type of supertype mat-type and of storage type [ivec3 x 4].

typeimat4x4

A plain type of supertype mat-type and of storage type [ivec4 x 4].

typeivec2

A plain type of supertype gvec2 and of storage type <i32 x 2>.

typeivec3

A plain type of supertype gvec3 and of storage type <i32 x 3>.

typeivec4

A plain type of supertype gvec4 and of storage type <i32 x 4>.

typemat-type

An opaque type of supertype immutable.

spice__* ( ... )
spice__== ( ... )
inline__@ ( self index )
spice__as ( ... )
spice__r* ( ... )
spice__typecall ( ... )
inline__unpack ( self )
spicerow ( ... )
typemat2

A plain type labeled mat2x2 of supertype mat-type and of storage type [vec2 x 2].

typemat2x2

A plain type of supertype mat-type and of storage type [vec2 x 2].

typemat2x3

A plain type of supertype mat-type and of storage type [vec3 x 2].

typemat2x4

A plain type of supertype mat-type and of storage type [vec4 x 2].

typemat3

A plain type labeled mat3x3 of supertype mat-type and of storage type [vec3 x 3].

typemat3x2

A plain type of supertype mat-type and of storage type [vec2 x 3].

typemat3x3

A plain type of supertype mat-type and of storage type [vec3 x 3].

typemat3x4

A plain type of supertype mat-type and of storage type [vec4 x 3].

typemat4

A plain type labeled mat4x4 of supertype mat-type and of storage type [vec4 x 4].

typemat4x2

A plain type of supertype mat-type and of storage type [vec2 x 4].

typemat4x3

A plain type of supertype mat-type and of storage type [vec3 x 4].

typemat4x4

A plain type of supertype mat-type and of storage type [vec4 x 4].

typeumat2

A plain type labeled umat2x2 of supertype mat-type and of storage type [uvec2 x 2].

typeumat2x2

A plain type of supertype mat-type and of storage type [uvec2 x 2].

typeumat2x3

A plain type of supertype mat-type and of storage type [uvec3 x 2].

typeumat2x4

A plain type of supertype mat-type and of storage type [uvec4 x 2].

typeumat3

A plain type labeled umat3x3 of supertype mat-type and of storage type [uvec3 x 3].

typeumat3x2

A plain type of supertype mat-type and of storage type [uvec2 x 3].

typeumat3x3

A plain type of supertype mat-type and of storage type [uvec3 x 3].

typeumat3x4

A plain type of supertype mat-type and of storage type [uvec4 x 3].

typeumat4

A plain type labeled umat4x4 of supertype mat-type and of storage type [uvec4 x 4].

typeumat4x2

A plain type of supertype mat-type and of storage type [uvec2 x 4].

typeumat4x3

A plain type of supertype mat-type and of storage type [uvec3 x 4].

typeumat4x4

A plain type of supertype mat-type and of storage type [uvec4 x 4].

typeuvec2

A plain type of supertype gvec2 and of storage type <u32 x 2>.

typeuvec3

A plain type of supertype gvec3 and of storage type <u32 x 3>.

typeuvec4

A plain type of supertype gvec4 and of storage type <u32 x 4>.

typevec-type

An opaque type of supertype immutable.

spice__% ( ... )
spice__& ( ... )
spice__* ( ... )
spice__** ( ... )
spice__+ ( ... )
spice__- ( ... )
spice__/ ( ... )
spice__// ( ... )
spice__< ( ... )
spice__<< ( ... )
spice__<= ( ... )
spice__== ( ... )
spice__> ( ... )
spice__>= ( ... )
spice__>> ( ... )
inline__@ ( self i )
spice__^ ( ... )
spice__as ( ... )
spice__getattr ( ... )
inline__neg ( self )
spice__r% ( ... )
spice__r& ( ... )
spice__r* ( ... )
spice__r** ( ... )
spice__r+ ( ... )
spice__r- ( ... )
spice__r/ ( ... )
spice__r// ( ... )
spice__r< ( ... )
spice__r<< ( ... )
spice__r<= ( ... )
spice__r> ( ... )
spice__r>= ( ... )
spice__r>> ( ... )
spice__r^ ( ... )
inline__rcp ( self )
spice__rimply ( ... )
spice__r| ( ... )
spice__static-rimply ( ... )
spice__typecall ( ... )
inline__unpack ( self )
spice__| ( ... )
typevec2

A plain type of supertype gvec2 and of storage type <f32 x 2>.

typevec3

A plain type of supertype gvec3 and of storage type <f32 x 3>.

typevec4

A plain type of supertype gvec4 and of storage type <f32 x 4>.

inlinedot ( u v )
spicemix ( ... )