Tres::Plane
Inherits Reference < Object
Constructors
Instance methods
apply_matrix4(matrix, normal_matrix = Tres::Matrix3.new.normal_matrix(matrix))
Sourceclone
Sourceconstant
Sourceconstant=(constant : Float32)
Sourcecoplanar_point(target = Tres::Vector3.new)
Sourcecopy(plane)
Sourcedistance_to_point(point)
Sourcedistance_to_sphere(sphere)
Sourceintersect_line(line, target = Tres::Vector3.new)
Sourceintersection_line?(line)
Sourcenegate
Sourcenormal
Sourcenormal=(normal : Tres::Vector3)
Sourcenormalize
Sourceortho_point(point, target = Tres::Vector3.new)
Sourceproject_point(point, target = Tres::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