class PF3d::Mesh
- PF3d::Mesh
- Reference
- Object
Overview
Mesh represents a collection of points and triangles
TODO Keep points in a collection, removing duplicates, and keep triangle verticies pointing to the points in that collection
Defined in:
pf3d/mesh.crConstructors
Class Method Summary
-
.load_obj(path, use_normals : Bool = false)
Load an obj file TODO: Load meshes specified by the obj file
Instance Method Summary
- #origin : PF2d::Vec3(Float64)
- #origin=(origin : PF2d::Vec3(Float64))
- #position : PF2d::Vec3(Float64)
- #position=(position : PF2d::Vec3(Float64))
- #rotation : PF2d::Vec3(Float64)
- #rotation=(rotation : PF2d::Vec3(Float64))
- #scale : PF2d::Vec3(Float64)
- #scale=(scale : PF2d::Vec3(Float64))
- #tris
- #tris=(tris : Array(PF3d::Tri))
Constructor Detail
Class Method Detail
def self.load_obj(path, use_normals : Bool = false)
#
Load an obj file
TODO Load meshes specified by the obj file