NewtonMeshApplySphericalMapping
Work In Progress: This function interface is not final and is subject to change in the future |
NewtonMeshApplySphericalMapping
void NewtonMeshApplySphericalMapping(const NewtonMesh* const mesh, int material, const dFloat* const aligmentMatrix)
Usage
Generates UV coordinates for the vertices in the mesh primitive using spherical coordinate mapping.
Parameters
- const NewtonMesh* mesh - is the pointer to the mesh primitive.
- int material - handle to the graphical material (usually this is the handle of a texture object).
- const dFloat* const aligmentMatrix
Return
- (Procedure)
Description
Generates UV coordinates for the vertices in the mesh primitive using spherical coordinate mapping.
See also
NewtonMeshApplyBoxMapping NewtonMeshApplyCylindricalMapping NewtonMeshCalculateVertexNormals