Searched refs:verticesNormals (Results 1 – 6 of 6) sorted by relevance
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/src/collision/ |
H A D | TriangleVertexArray.cpp | 119 delete[] verticesNormals; in ~TriangleVertexArray() 130 float* verticesNormals = new float[mNbVertices * 3]; in computeVerticesNormals() local 134 verticesNormals[i] = 0.0f; in computeVerticesNormals() 170 verticesNormals[verticesIndices[v] * 3] += normalComponent.x; in computeVerticesNormals() 171 verticesNormals[verticesIndices[v] * 3 + 1] += normalComponent.y; in computeVerticesNormals() 172 verticesNormals[verticesIndices[v] * 3 + 2] += normalComponent.z; in computeVerticesNormals() 180 Vector3 normal(verticesNormals[v], verticesNormals[v + 1], verticesNormals[v + 2]); in computeVerticesNormals() 183 verticesNormals[v] = normal.x; in computeVerticesNormals() 184 verticesNormals[v + 1] = normal.y; in computeVerticesNormals() 185 verticesNormals[v + 2] = normal.z; in computeVerticesNormals() [all …]
|
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/include/reactphysics3d/collision/shapes/ |
H A D | ConcaveMeshShape.h | 246 Vector3 verticesNormals[3]; in notifyOverlappingNode() local 247 mConcaveMeshShape.getTriangleVerticesNormals(data[0], data[1], verticesNormals); in notifyOverlappingNode() 250 …mTriangleTestCallback.testTriangle(trianglePoints, verticesNormals, mConcaveMeshShape.computeTrian… in notifyOverlappingNode()
|
H A D | ConcaveShape.h | 49 …virtual void testTriangle(const Vector3* trianglePoints, const Vector3* verticesNormals, uint shap…
|
H A D | TriangleShape.h | 111 TriangleShape(const Vector3* vertices, const Vector3* verticesNormals,
|
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/src/collision/shapes/ |
H A D | TriangleShape.cpp | 48 TriangleShape::TriangleShape(const Vector3* vertices, const Vector3* verticesNormals, uint shapeId, in TriangleShape() argument 60 mVerticesNormals[0] = verticesNormals[0]; 61 mVerticesNormals[1] = verticesNormals[1]; 62 mVerticesNormals[2] = verticesNormals[2];
|
H A D | ConcaveMeshShape.cpp | 246 Vector3 verticesNormals[3]; in raycastTriangles() local 247 mConcaveMeshShape.getTriangleVerticesNormals(data[0], data[1], verticesNormals); in raycastTriangles() 250 …TriangleShape triangleShape(trianglePoints, verticesNormals, mConcaveMeshShape.computeTriangleShap… in raycastTriangles()
|