| 140 | int32_t getFaceCount() const { return (int32_t)mMesh.faceCount; } |
| 141 | void getPosition(float position[], int32_t face, int32_t vert) const { FALCOR_ASSERT_LT(size_t(face) * 3 + vert, mPositions.size()); memcpy(position, mPositions.data() + (face * 3 + vert), sizeof(float3)); } |
| 142 | void getNormal(float normal[], int32_t face, int32_t vert) { *reinterpret_cast<float3*>(normal) = mMesh.getNormal(face, vert); } |
| 143 | void getTexCrd(float texCrd[], int32_t face, int32_t vert) { *reinterpret_cast<float2*>(texCrd) = mMesh.getTexCrd(face, vert); } |
| 144 | |
| 145 | void setTangent(const float tangent[], float sign, int32_t face, int32_t vert) |
no outgoing calls
no test coverage detected