Difference between revisions of "NewtonMeshApplyCylindricalMapping"

From Newton Wiki
Jump to: navigation, search
m (1 revision imported)
Line 1: Line 1:
 +
{{WIP|This function interface is not final and is subject to change in the future}}
 +
 
== NewtonMeshApplyCylindricalMapping ==
 
== NewtonMeshApplyCylindricalMapping ==
  
{{WIP|This function interface is not final and is subject to change in the future}}
+
void NewtonMeshApplyCylindricalMapping(const NewtonMesh* const mesh, int cylinderMaterial, int capMaterial, const dFloat* const aligmentMatrix)
  
  void NewtonMeshApplyCylindricalMapping (const NewtonMesh* mesh, int cylinderMaterial, int capMaterial);
+
== Usage ==
  
== Usage ==
 
  
Generates UV coordinates for the vertices in the mesh primitive using cylindrical coordinate mapping.
 
  
 
== Parameters ==
 
== Parameters ==
  
* const NewtonMesh* mesh - is the pointer to the mesh primitive.
+
* const NewtonMesh* const mesh
* int cylinderMaterial - handle to the graphical material used for the cylinder cope (usually this is the handle of a texture object).
+
* int cylinderMaterial
* int capMaterial - handle to the graphical material used for the cylinder caps (usually this is the handle of a texture object).
+
* int capMaterial
 +
* 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 ==
+
== See also ==
 
 
* Added since Newton 2.0
 
  
== 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]]

Revision as of 05:42, 18 June 2019


NewtonMeshApplyCylindricalMapping

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

Usage

Parameters

  • const NewtonMesh* const mesh
  • int cylinderMaterial
  • int capMaterial
  • const dFloat* const aligmentMatrix

Return

  • (Procedure)

Description

See also