#include <NVMeshMender.h>
Public Types | |
typedef std::vector< VertexAttribute > | VAVector |
enum | Option { FixTangents, DontFixTangents, FixCylindricalTexGen, DontFixCylindricalTexGen, WeightNormalsByFaceSize, DontWeightNormalsByFaceSize } |
Public Member Functions | |
void | SetLastError (const std::string &rhs) const |
std::string | GetLastError () const |
bool | Munge (const NVMeshMender::VAVector &input, NVMeshMender::VAVector &output, const float bSmoothCreaseAngleRadians=3.141592654f/3.0f, const float *pTextureMatrix=0, const Option _FixTangents=FixTangents, const Option _FixCylindricalTexGen=FixCylindricalTexGen, const Option _WeightNormalsByFaceSize=WeightNormalsByFaceSize) |
bool | MungeD3DX (const NVMeshMender::VAVector &input, NVMeshMender::VAVector &output, const float bSmoothCreaseAngleRadians=3.141592654f/3.0f, const float *pTextureMatrix=0, const Option _FixTangents=FixTangents, const Option _FixCylindricalTexGen=FixCylindricalTexGen, const Option _WeightNormalsByFaceSize=WeightNormalsByFaceSize) |
Private Attributes | |
std::vector< std::string > | LastErrors_ |
Classes | |
struct | Edge |
struct | VertexAttribute |
Definition at line 132 of file NVMeshMender.h.
|
Definition at line 224 of file NVMeshMender.h. |
|
Definition at line 226 of file NVMeshMender.h. |
|
Definition at line 175 of file NVMeshMender.h. References LastErrors_. |
|
Definition at line 105 of file NVMeshMender.cpp. References DontWeightNormalsByFaceSize, dot(), NVMeshMender::Edge::face, FixCylindricalTexGen, FixTangents, NVMeshMender::VertexAttribute::Name_, normalize(), vec3::normalize(), nv_eps, nv_max(), nv_min(), nv_zero, SetLastError(), NVMeshMender::Edge::v0, NVMeshMender::Edge::v1, vec3_null, vec3::x, vec3::y, and vec3::z. Here is the call graph for this function: ![]() |
|
|
|
Definition at line 170 of file NVMeshMender.h. References LastErrors_. Referenced by Munge(). |
|
Definition at line 136 of file NVMeshMender.h. Referenced by GetLastError(), and SetLastError(). |