Companion

object Companion

Functions

Link copied to clipboard
fun alloc(): Vec3

Allocates a new #graphene_vec3_t structure.

Link copied to clipboard
fun getType(): <Error class: unknown class>

Get the GType of Vec3

Link copied to clipboard
fun one(): Vec3

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

Link copied to clipboard
fun xAxis(): Vec3

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

Link copied to clipboard
fun yAxis(): Vec3

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

Link copied to clipboard
fun zAxis(): Vec3

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

Link copied to clipboard
fun zero(): Vec3

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