Package: graphene

Function graphene:quaternion-init

Lambda List

graphene:quaternion-init (quaternion x y z w)

Arguments

quaternion -- a graphene:quaternion-t instance
x -- a number coerced to a float with the first component of the quaterion
y -- a number coerced to a float with the second component of the quaterion
z -- a number coerced to a float with the third component of the quaterion
x -- a number coerced to a float with the fourth component of the quaterion

Return Value

The initialized graphene:quaternion-t instance.

Details

Initializes a quaternion using the given four values.
 

See also

#2023-12-8