class PF3d::Transform
- PF3d::Transform
- Reference
- Object
Defined in:
pf3d/transform.crConstructors
Class Method Summary
- .apply(point : PF2d::Vec3(Float64), matrix : PF2d::Matrix(Float64, 16))
- .identity
- .point_at(position : PF2d::Vec3(Float64), target : PF2d::Vec3(Float64), up : PF2d::Vec3(Float64) = PF2d::Vec[0.0, 1.0, 0.0])
-
.quick_inverse(other : PF2d::Matrix)
Does not work for scaling, only for rotation / translation
- .rot_x(theta : Float64)
- .rot_y(theta : Float64)
- .rot_z(theta : Float64)
- .rotate(r : PF2d::Vec3(Float64))
- .rotation(x : Float64, y : Float64, z : Float64)
- .rotation(angle : PF2d::Vec3(Float64))
- .scale(scale : PF2d::Vec3(Float64))
- .translation(x : Float64, y : Float64, z : Float64)
- .translation(pos : PF2d::Vec3(Float64))
Instance Method Summary
- #apply(point : PF2d::Vec3(Float64))
- #matrix : PF2d::Matrix(Float64, 16)
- #matrix=(matrix : PF2d::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 : PF2d::Vec3(Float64))
Constructor Detail
Class Method Detail
def self.point_at(position : PF2d::Vec3(Float64), target : PF2d::Vec3(Float64), up : PF2d::Vec3(Float64) = PF2d::Vec[0.0, 1.0, 0.0])
#
def self.quick_inverse(other : PF2d::Matrix)
#
Does not work for scaling, only for rotation / translation