NewtonMeshApplySphericalMapping

From Newton Wiki
Revision as of 08:02, 10 June 2019 by WikiSysop (talk | contribs) (1 revision imported)
Jump to: navigation, search

NewtonMeshCalculateVertexNormals


 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