Module mesh

Consts

PRIMITIVE_POINTS* = 0'i64
PRIMITIVE_LINES* = 1'i64
PRIMITIVE_LINE_STRIP* = 2'i64
PRIMITIVE_LINE_LOOP* = 3'i64
PRIMITIVE_TRIANGLES* = 4'i64
PRIMITIVE_TRIANGLE_STRIP* = 5'i64
PRIMITIVE_TRIANGLE_FAN* = 6'i64

Procs

proc createTrimeshShape*(self: Mesh): Shape {.
gcsafe, locks: 0
.}
proc createConvexShape*(self: Mesh): Shape {.
gcsafe, locks: 0
.}
proc createOutline*(self: Mesh; margin: float64): ArrayMesh {.
gcsafe, locks: 0
.}
proc getFaces*(self: Mesh): PoolVector3Array {.
gcsafe, locks: 0
.}
proc generateTriangleMesh*(self: Mesh): TriangleMesh {.
gcsafe, locks: 0
.}