Mittsu::Plane
Inherits Reference < Object
Constructors
new(normal = Mittsu::Vector3.new(1, 0, 0), constant = 0.0)
SourceInstance methods
apply_matrix4(matrix, normal_matrix = Mittsu::Matrix3.new.normal_matrix(matrix))
Sourceclone
Sourceconstant
Sourceconstant=(constant : Float64)
Sourcecoplanar_point(target = Mittsu::Vector3.new)
Sourcecopy(plane)
Sourcedistance_to_point(point)
Sourcedistance_to_sphere(sphere)
Sourceintersect_line(line, target = Mittsu::Vector3.new)
Sourceintersection_line?(line)
Sourcenegate
Sourcenormal
Sourcenormal=(normal : Mittsu::Vector3)
Sourcenormalize
Sourceortho_point(point, target = Mittsu::Vector3.new)
Sourceproject_point(point, target = Mittsu::Vector3.new)
Sourceset(normal, constant)
Sourceset_components(x, y, z, w)
Sourceset_from_coplanar_points(a, b, c)
Sourceset_from_normal_and_coplanar_point(normal, point)
Sourcetranslate(offset)
Source