S3DR_CreateMesh_AddTriangle()

Syntax

S3DR_CreateMesh_AddTriangle(x1.f,y1.f,z1.f,x2.f,y2.f,z2.f,x3.f,y3.f,z3.f)

Description

Adds a triangle to the mesh.


This command must be inside of a S3DR_StartCreateMesh()...S3DR_StopCreateMesh() block.
If the function fails, it returns nonzero.

Supported OS

Windows

Sprite3DReal - Index