class Graphene::Euler
- Graphene::Euler
- Reference
- Object
Overview
Describe a rotation using Euler angles.
The contents of the #graphene_::euler_t structure are private and should never be accessed directly.
Defined in:
lib/gi-crystal/src/auto/graphene-1.0/euler.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibGraphene::Euler, transfer : GICrystal::Transfer)
- .new(angles : Graphene::Vec3? = nil, order : Graphene::EulerOrder? = nil)
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#==(other : self) : Bool
Returns
true
if this reference is the same as other. - #alpha : Float32
- #angles : Graphene::Vec3
- #angles=(value : Graphene::Vec3)
- #beta : Float32
- #equal(b : Graphene::Euler) : Bool
- #free : Nil
- #gamma : Float32
- #init(x : Float32, y : Float32, z : Float32) : Graphene::Euler
- #init_from_euler(src : Graphene::Euler?) : Graphene::Euler
- #init_from_matrix(m : Graphene::Matrix?, order : Graphene::EulerOrder) : Graphene::Euler
- #init_from_quaternion(q : Graphene::Quaternion?, order : Graphene::EulerOrder) : Graphene::Euler
- #init_from_radians(x : Float32, y : Float32, z : Float32, order : Graphene::EulerOrder) : Graphene::Euler
- #init_from_vec3(v : Graphene::Vec3?, order : Graphene::EulerOrder) : Graphene::Euler
- #init_with_order(x : Float32, y : Float32, z : Float32, order : Graphene::EulerOrder) : Graphene::Euler
- #order : Graphene::EulerOrder
- #order=(value : Graphene::EulerOrder)
- #reorder(order : Graphene::EulerOrder) : Graphene::Euler
- #to_matrix : Graphene::Matrix
- #to_quaternion : Graphene::Quaternion
- #to_unsafe
- #to_vec3 : Graphene::Vec3
- #x : Float32
- #y : Float32
- #z : Float32
Constructor Detail
Class Method Detail
Instance Method Detail
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.
def init_from_quaternion(q : Graphene::Quaternion?, order : Graphene::EulerOrder) : Graphene::Euler
#
def init_from_radians(x : Float32, y : Float32, z : Float32, order : Graphene::EulerOrder) : Graphene::Euler
#
def init_with_order(x : Float32, y : Float32, z : Float32, order : Graphene::EulerOrder) : Graphene::Euler
#