class

Mittsu::Matrix4

Inherits Reference < Object

Constants

DIMENSIONS = 4

Constructors

Instance methods

==(other)

Returns false (other can only be a Value here).

Source
apply_to_vector3_array(array, offset = 0, length = array.length)
Source
clone
Source
compose(position, quaternion, scale)
Source
copy(m)
Source
copy_position(m)
Source
decompose(position, quaternion, scale)
Source
determinant
Source
elements
Source
elements=(elements : Array(Float64))
Source
extract_basis(x_axis, y_axis, z_axis)
Source
extract_rotation(m)
Source
flatten_to_array_offset(array, offset)
Source
from_array(array)
Source
identity
Source
inverse(m, throw_on_invertable = false)
Source
look_at(eye, target, up)
Source
make_basis(x_axis, y_axis, z_axis)
Source
make_frustum(left, right, bottom, top, near, far)
Source
make_orthographic(left, right, top, bottom, near, far)
Source
make_perspective(fov, aspect, near, far)
Source
make_rotation_axis(axis, angle)
Source
make_rotation_from_euler(euler)
Source
make_rotation_from_quaternion(q)
Source
make_rotation_x(theta)
Source
make_rotation_y(theta)
Source
make_rotation_z(theta)
Source
make_scale(x, y, z)
Source
make_translation(x, y, z)
Source
max_scale_on_axis
Source
multiply(m)
Source
multiply_matrices(a, b)
Source
multiply_scalar(s)
Source
multiply_to_array(a, b, r)
Source
scale(v)
Source
set(n11, n12, n13, n14, n21, n22, n23, n24, n31, n32, n33, n34, n41, n42, n43, n44)
Source
set_position(v)
Source
to_a
Source
transpose
Source