class Mittsu::Matrix4
- Mittsu::Matrix4
- Reference
- Object
Defined in:
mittsu/math/matrix4.crConstant Summary
-
DIMENSIONS =
4
Constructors
Instance Method Summary
-
#==(other)
Returns
false
(other can only be aValue
here). - #apply_to_vector3_array(array, offset = 0, length = array.length)
- #clone
- #compose(position, quaternion, scale)
- #copy(m)
- #copy_position(m)
- #decompose(position, quaternion, scale)
- #determinant
- #elements : Array(Float64)
- #elements=(elements : Array(Float64))
- #extract_basis(x_axis, y_axis, z_axis)
- #extract_rotation(m)
- #flatten_to_array_offset(array, offset)
- #from_array(array)
- #identity
- #inverse(m, throw_on_invertable = false)
- #look_at(eye, target, up)
- #make_basis(x_axis, y_axis, z_axis)
- #make_frustum(left, right, bottom, top, near, far)
- #make_orthographic(left, right, top, bottom, near, far)
- #make_perspective(fov, aspect, near, far)
- #make_rotation_axis(axis, angle)
- #make_rotation_from_euler(euler)
- #make_rotation_from_quaternion(q)
- #make_rotation_x(theta)
- #make_rotation_y(theta)
- #make_rotation_z(theta)
- #make_scale(x, y, z)
- #make_translation(x, y, z)
- #max_scale_on_axis
- #multiply(m)
- #multiply_matrices(a, b)
- #multiply_scalar(s)
- #multiply_to_array(a, b, r)
- #scale(v)
- #set(n11, n12, n13, n14, n21, n22, n23, n24, n31, n32, n33, n34, n41, n42, n43, n44)
- #set_position(v)
- #to_a
- #transpose
Constructor Detail
Instance Method Detail
def ==(other)
#
Description copied from class Reference
Returns false
(other can only be a Value
here).
def set(n11, n12, n13, n14, n21, n22, n23, n24, n31, n32, n33, n34, n41, n42, n43, n44)
#