NewtonMeshApplySphericalMapping

From Newton Wiki
Revision as of 05:45, 18 June 2019 by WikiSysop (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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