CreateQuadMesh#
-
Mesh *CreateQuadMesh(float sizex, float sizez, int gridx, int gridz)#
Creates a subdivided quad mesh.
Generates a rectangular mesh divided into a grid of smaller quads.
- Parameters:
sizex – [in] Width of the quad in the X direction
sizez – [in] Height of the quad in the Z direction
gridx – [in] Number of subdivisions along X axis
gridz – [in] Number of subdivisions along Z axis
- Returns:
Pointer to the created quad mesh