class Mittsu::Quaternion
- Mittsu::Quaternion
- Reference
- Object
Defined in:
mittsu/math/quaternion.crConstant Summary
-
EPS =
0.000001
Constructors
Class Method Summary
Instance Method Summary
-
#==(quaternion)
Returns
false
(other can only be aValue
here). - #clone
- #conjugate
- #copy(quaternion)
- #dot(v)
- #from_array(array, offset = 0)
- #inverse
- #length
- #length_sq
- #multiply(q)
- #multiply_quaternions(a, b)
- #normalize
- #on_change(&callback)
- #on_change_callback
- #set(x, y, z, w)
- #set_from_axis_angle(axis, angle)
- #set_from_euler(euler, update = true)
- #set_from_rotation_matrix(m)
- #set_from_unit_vectors(v_from, v_to)
- #slerp(qb, t)
- #to_array(array = [] of Float64, offset = 0)
- #w : Float64
- #w=(w)
- #x : Float64
- #x=(x)
- #y : Float64
- #y=(y)
- #z : Float64
- #z=(z)
Constructor Detail
Class Method Detail
Instance Method Detail
def ==(quaternion)
#
Description copied from class Reference
Returns false
(other can only be a Value
here).