class

Mittsu::Plane

Inherits Reference < Object

Constructors

new(normal = Mittsu::Vector3.new(1, 0, 0), constant = 0.0)
Source

Instance methods

==(plane)

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

Source
apply_matrix4(matrix, normal_matrix = Mittsu::Matrix3.new.normal_matrix(matrix))
Source
clone
Source
constant
Source
constant=(constant : Float64)
Source
coplanar_point(target = Mittsu::Vector3.new)
Source
copy(plane)
Source
distance_to_point(point)
Source
distance_to_sphere(sphere)
Source
intersect_line(line, target = Mittsu::Vector3.new)
Source
intersection_line?(line)
Source
negate
Source
normal
Source
normal=(normal : Mittsu::Vector3)
Source
normalize
Source
ortho_point(point, target = Mittsu::Vector3.new)
Source
project_point(point, target = Mittsu::Vector3.new)
Source
set(normal, constant)
Source
set_components(x, y, z, w)
Source
set_from_coplanar_points(a, b, c)
Source
set_from_normal_and_coplanar_point(normal, point)
Source
translate(offset)
Source