NewtonMeshApplySphericalMapping
Contents
NewtonMeshCalculateVertexNormals
Work In Progress: This function interface is not final and is subject to change in the future |
void NewtonMeshApplySphericalMapping (const NewtonMesh* mesh, int material);
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).
Return
- Nothing.
Description
Generates UV coordinates for the vertices in the mesh primitive using spherical coordinate mapping.
Remarks
- Added since Newton 2.0
See also
NewtonMeshApplyBoxMapping NewtonMeshApplyCylindricalMapping NewtonMeshCalculateVertexNormals