18 template <
typename Real>
42 template <
typename Real>
89 template <
typename Real>
95 template <
typename Real>
110 template <
typename Real>
125 template <
typename Real>
135 template <
typename Real>
160 this->
DPDU(i) = tangent;
165 this->
DPDV(i) = bitangent;
void InitializePositions()
MeshDescription mDescription
std::vector< Vector2< Real > > mDefaultTCoords
Vector3< Real > * mBitangents
Vector< N, Real > UnitCross(Vector< N, Real > const &v0, Vector< N, Real > const &v1, bool robust=false)
Vector3< Real > & Bitangent(uint32_t i)
Vector3< Real > & DPDU(uint32_t i)
std::array< Vector< N, Real >, 2 > axis
Vector3< Real > * mTangents
bool wantDynamicTangentSpaceUpdate
Vector3< Real > * mNormals
RectangleMesh(MeshDescription const &description, Rectangle< 3, Real > const &rectangle)
Rectangle< 3, Real > mRectangle
Vector2< Real > & TCoord(uint32_t i)
Vector3< Real > & Tangent(uint32_t i)
Vector2< Real > * mTCoords
Vector3< Real > & Normal(uint32_t i)
Vector3< Real > & DPDV(uint32_t i)
bool hasTangentSpaceVectors
Vector3< Real > & Position(uint32_t i)
Rectangle< 3, Real > const & GetRectangle() const
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint GLdouble w1