Difference between revisions of "NewtonMeshApplySphericalMapping"
m (1 revision imported) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{WIP|This function interface is not final and is subject to change in the future}} | |
− | + | == NewtonMeshApplySphericalMapping == | |
− | + | void NewtonMeshApplySphericalMapping(const NewtonMesh* const mesh, int material, const dFloat* const aligmentMatrix) | |
== Usage == | == Usage == | ||
Generates UV coordinates for the vertices in the mesh primitive using spherical coordinate mapping. | Generates UV coordinates for the vertices in the mesh primitive using spherical coordinate mapping. | ||
+ | |||
== Parameters == | == Parameters == | ||
Line 13: | Line 14: | ||
* const NewtonMesh* mesh - is the pointer to the mesh primitive. | * 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). | * int material - handle to the graphical material (usually this is the handle of a texture object). | ||
+ | * const dFloat* const aligmentMatrix | ||
== Return == | == Return == | ||
− | + | * (Procedure) | |
− | * | ||
== Description == | == Description == | ||
− | |||
Generates UV coordinates for the vertices in the mesh primitive using spherical coordinate mapping. | Generates UV coordinates for the vertices in the mesh primitive using spherical coordinate mapping. | ||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
+ | |||
[[NewtonMeshApplyBoxMapping]] | [[NewtonMeshApplyBoxMapping]] | ||
[[NewtonMeshApplyCylindricalMapping]] | [[NewtonMeshApplyCylindricalMapping]] |
Latest revision as of 05:45, 18 June 2019
Work In Progress: This function interface is not final and is subject to change in the future |
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