Difference between revisions of "NewtonMeshApplyCylindricalMapping"

From Newton Wiki
Jump to: navigation, search
(Undo revision 2092 by WikiSysop (talk))
 
Line 7: Line 7:
 
== Usage ==
 
== Usage ==
  
 
+
Generates UV coordinates for the vertices in the mesh primitive using cylindrical coordinate mapping.
  
 
== Parameters ==
 
== Parameters ==
  
* const NewtonMesh* const mesh
+
* const NewtonMesh* mesh - is the pointer to the mesh primitive.
* int cylinderMaterial
+
* int cylinderMaterial - handle to the graphical material used for the cylinder cope (usually this is the handle of a texture object).
* int capMaterial
+
* int capMaterial - handle to the graphical material used for the cylinder caps (usually this is the handle of a texture object).
 
* const dFloat* const aligmentMatrix
 
* const dFloat* const aligmentMatrix
  
 
== Return ==
 
== Return ==
* (Procedure)
+
 
 +
* Nothing.
  
 
== Description ==
 
== Description ==
  
 +
Generates UV coordinates for the vertices in the mesh primitive using cylindrical coordinate mapping.
 +
 +
== Remarks ==
 +
 +
* Added since Newton 2.0
  
 
== See also ==
 
== See also ==
 
+
[[NewtonMeshApplySphericalMapping]]
 +
[[NewtonMeshApplyBoxMapping]]
 +
[[NewtonMeshCalculateVertexNormals]]
  
 
[[Category:Mesh joint functions]] [[Category:Newton Functions]] [[Category:Newton 3 Functions]] [[Category:Newton Functions without description]] [[Category:User defined mesh shape functions]]
 
[[Category:Mesh joint functions]] [[Category:Newton Functions]] [[Category:Newton 3 Functions]] [[Category:Newton Functions without description]] [[Category:User defined mesh shape functions]]

Latest revision as of 05:45, 18 June 2019


NewtonMeshApplyCylindricalMapping

void NewtonMeshApplyCylindricalMapping(const NewtonMesh* const mesh, int cylinderMaterial, int capMaterial, const dFloat* const aligmentMatrix)

Usage

Generates UV coordinates for the vertices in the mesh primitive using cylindrical coordinate mapping.

Parameters

  • const NewtonMesh* mesh - is the pointer to the mesh primitive.
  • int cylinderMaterial - handle to the graphical material used for the cylinder cope (usually this is the handle of a texture object).
  • int capMaterial - handle to the graphical material used for the cylinder caps (usually this is the handle of a texture object).
  • const dFloat* const aligmentMatrix

Return

  • Nothing.

Description

Generates UV coordinates for the vertices in the mesh primitive using cylindrical coordinate mapping.

Remarks

  • Added since Newton 2.0

See also

NewtonMeshApplySphericalMapping NewtonMeshApplyBoxMapping NewtonMeshCalculateVertexNormals