class PF::Transform3d
- PF::Transform3d
- Reference
- Object
Defined in:
transform3d.crConstructors
Class Method Summary
-
.apply(point : Vector3(Float64), matrix : Matrix(Float64, 16))
TODO Optionally return the result of w in some way (pointer / tuple?)
- .identity
- .point_at(position : Vector3(Float64), target : Vector3(Float64), up : Vector3(Float64) = Vector[0.0, 1.0, 0.0])
-
.quick_inverse(other : Matrix)
Does not work for scaling, only for rotation / translation
- .rot_x(theta : Float64)
- .rot_y(theta : Float64)
- .rot_z(theta : Float64)
- .rotate(r : Vector3(Float64))
- .rotation(x : Float64, y : Float64, z : Float64)
- .rotation(angle : Vector3(Float64))
- .translation(x : Float64, y : Float64, z : Float64)
- .translation(pos : Vector3(Float64))
Instance Method Summary
-
#apply(point : Vector3(Float64))
TODO Optionally return the result of w in some way (pointer / tuple?)
- #matrix : Matrix(Float64, 16)
- #matrix=(matrix : Matrix(Float64, 16))
-
#quick_invert
Does not work for scaling, only for rotation / translation
- #reset
- #rot_x(theta : Float64)
- #rot_y(theta : Float64)
- #rot_z(theta : Float64)
- #translate(pos : Vector3(Float64))
Constructor Detail
Class Method Detail
TODO Optionally return the result of w in some way (pointer / tuple?)
def self.point_at(position : Vector3(Float64), target : Vector3(Float64), up : Vector3(Float64) = Vector[0.0, 1.0, 0.0])
#
Does not work for scaling, only for rotation / translation
Instance Method Detail
TODO Optionally return the result of w in some way (pointer / tuple?)