Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
GS::Export::Mesh
Inherits
Struct
<
Value
<
Object
Triangle mesh representation
Constructors
new
Source
Instance methods
add_triangle
(v0 :
Int32
, v1 :
Int32
, v2 :
Int32
)
Source
add_vertex
(x :
Float32
, y :
Float32
, z :
Float32
) :
Int32
Source
compute_normals!
Compute normals from triangles
Source
normals
Source
triangle_count
Source
triangles
Source
vertex_count
Source
vertices
Source