SaturnRingLibrary
0.9.2
SGL wrapper
Loading...
Searching...
No Matches
◆
Mesh()
[3/3]
SRL::Types::Mesh::Mesh
(
const size_t &
vertexCount
,
SRL::Math::Types::Vector3D
*
vertices
,
const size_t &
faceCount
,
Polygon
*
faces
,
Attribute
*
attributes
)
inline
Construct a new mesh object from existing data.
Warning
When object is deleted, referenced vertices, faces and attributes arrays are deleted as well
Parameters
vertexCount
Number of points
vertices
Vertex data
faceCount
Number of faces
faces
Face polygons
attributes
Face attributes
SRL
Types
Mesh