init_rotate


Description:

[ Version ( since = "1.0" ) ]
public unowned Matrix? init_rotate (float angle, Vec3 axis)

Initializes this to represent a rotation of angle degrees on the axis represented by the axis vector.

Parameters:

this

a Matrix

angle

the rotation angle, in degrees

axis

the axis vector as a Vec3

Returns:

the initialized matrix




2022 vala-language.org