Home
last modified time | relevance | path

Searched refs:gfxVertices (Results 1 – 10 of 10) sorted by relevance

/dports/devel/bullet/bullet3-3.21/examples/ExampleBrowser/
H A DOpenGLGuiHelper.cpp549 col.m_pVerticesOut = &gfxVertices;
983 gfxVertices.resize(4);
990 gfxVertices[i].xyzw[0] = pos[0];
991 gfxVertices[i].xyzw[1] = pos[1];
992 gfxVertices[i].xyzw[2] = pos[2];
993 gfxVertices[i].xyzw[3] = 1;
1004 gfxVertices[0].uv[0] = vecLen / 2;
1005 gfxVertices[0].uv[1] = vecLen / 2;
1006 gfxVertices[1].uv[0] = -vecLen / 2;
1007 gfxVertices[1].uv[1] = vecLen / 2;
[all …]
H A DOpenGLGuiHelper.h109 btAlignedObjectArray<GLInstanceVertex>& gfxVertices,
/dports/devel/py-bullet3/bullet3-3.21/examples/ExampleBrowser/
H A DOpenGLGuiHelper.cpp549 col.m_pVerticesOut = &gfxVertices;
983 gfxVertices.resize(4);
990 gfxVertices[i].xyzw[0] = pos[0];
991 gfxVertices[i].xyzw[1] = pos[1];
992 gfxVertices[i].xyzw[2] = pos[2];
993 gfxVertices[i].xyzw[3] = 1;
1004 gfxVertices[0].uv[0] = vecLen / 2;
1005 gfxVertices[0].uv[1] = vecLen / 2;
1006 gfxVertices[1].uv[0] = -vecLen / 2;
1007 gfxVertices[1].uv[1] = vecLen / 2;
[all …]
H A DOpenGLGuiHelper.h109 btAlignedObjectArray<GLInstanceVertex>& gfxVertices,
/dports/devel/bullet/bullet3-3.21/examples/StandaloneMain/
H A Dmain_tinyrenderer_single_example.cpp124 btAlignedObjectArray<GLInstanceVertex> gfxVertices; in createCollisionShapeGraphicsObject() local
134 gfxVertices.resize(vertexPositions.size()); in createCollisionShapeGraphicsObject()
139 gfxVertices[i].xyzw[j] = vertexPositions[i][j]; in createCollisionShapeGraphicsObject()
143 gfxVertices[i].normal[j] = vertexNormals[i][j]; in createCollisionShapeGraphicsObject()
147 gfxVertices[i].uv[j] = 0.5; //we don't have UV info... in createCollisionShapeGraphicsObject()
152 if (gfxVertices.size() && indices.size()) in createCollisionShapeGraphicsObject()
154 …int shapeId = registerGraphicsShape(&gfxVertices[0].xyzw[0], gfxVertices.size(), &indices[0], indi… in createCollisionShapeGraphicsObject()
/dports/devel/py-bullet3/bullet3-3.21/examples/StandaloneMain/
H A Dmain_tinyrenderer_single_example.cpp124 btAlignedObjectArray<GLInstanceVertex> gfxVertices; in createCollisionShapeGraphicsObject() local
134 gfxVertices.resize(vertexPositions.size()); in createCollisionShapeGraphicsObject()
139 gfxVertices[i].xyzw[j] = vertexPositions[i][j]; in createCollisionShapeGraphicsObject()
143 gfxVertices[i].normal[j] = vertexNormals[i][j]; in createCollisionShapeGraphicsObject()
147 gfxVertices[i].uv[j] = 0.5; //we don't have UV info... in createCollisionShapeGraphicsObject()
152 if (gfxVertices.size() && indices.size()) in createCollisionShapeGraphicsObject()
154 …int shapeId = registerGraphicsShape(&gfxVertices[0].xyzw[0], gfxVertices.size(), &indices[0], indi… in createCollisionShapeGraphicsObject()
/dports/devel/bullet/bullet3-3.21/examples/Heightfield/
H A DHeightfieldExample.cpp1089 btAlignedObjectArray<GLInstanceVertex> gfxVertices; in stepSimulation() local
1102 col.m_pVerticesOut = &gfxVertices; in stepSimulation()
1111 if (gfxVertices.size() && indices.size()) in stepSimulation()
1113 …erface()->updateShape(m_heightfieldShape->getUserIndex(), &gfxVertices[0].xyzw[0], gfxVertices.siz… in stepSimulation()
/dports/devel/py-bullet3/bullet3-3.21/examples/Heightfield/
H A DHeightfieldExample.cpp1089 btAlignedObjectArray<GLInstanceVertex> gfxVertices; in stepSimulation() local
1102 col.m_pVerticesOut = &gfxVertices; in stepSimulation()
1111 if (gfxVertices.size() && indices.size()) in stepSimulation()
1113 …erface()->updateShape(m_heightfieldShape->getUserIndex(), &gfxVertices[0].xyzw[0], gfxVertices.siz… in stepSimulation()
/dports/devel/bullet/bullet3-3.21/examples/SharedMemory/
H A DPhysicsServerCommandProcessor.cpp4967 col.m_pVerticesOut = &gfxVertices; in processCreateCollisionShapeCommand()
4973 …a->m_guiHelper->updateShape(terrainShape->getUserIndex(), &gfxVertices[0].xyzw[0], gfxVertices.siz… in processCreateCollisionShapeCommand()
4978 vts.resize(gfxVertices.size()); in processCreateCollisionShapeCommand()
4979 normals.resize(gfxVertices.size()); in processCreateCollisionShapeCommand()
4983 vts[v].setValue(gfxVertices[v].xyzw[0], gfxVertices[v].xyzw[1], gfxVertices[v].xyzw[2]); in processCreateCollisionShapeCommand()
4984 … normals[v].setValue(gfxVertices[v].normal[0], gfxVertices[v].normal[1], gfxVertices[v].normal[2]); in processCreateCollisionShapeCommand()
5063 col.m_pVerticesOut = &gfxVertices; in processCreateCollisionShapeCommand()
5078 …urdfColObj.m_geometry.m_vertices[v].setValue(gfxVertices[v].xyzw[0], gfxVertices[v].xyzw[1], gfxVe… in processCreateCollisionShapeCommand()
5079 urdfColObj.m_geometry.m_uvs[v].setValue(gfxVertices[v].uv[0], gfxVertices[v].uv[1], 0); in processCreateCollisionShapeCommand()
5080 …urdfColObj.m_geometry.m_normals[v].setValue(gfxVertices[v].normal[0], gfxVertices[v].normal[1], gf… in processCreateCollisionShapeCommand()
[all …]
/dports/devel/py-bullet3/bullet3-3.21/examples/SharedMemory/
H A DPhysicsServerCommandProcessor.cpp4967 col.m_pVerticesOut = &gfxVertices; in processCreateCollisionShapeCommand()
4973 …a->m_guiHelper->updateShape(terrainShape->getUserIndex(), &gfxVertices[0].xyzw[0], gfxVertices.siz… in processCreateCollisionShapeCommand()
4978 vts.resize(gfxVertices.size()); in processCreateCollisionShapeCommand()
4979 normals.resize(gfxVertices.size()); in processCreateCollisionShapeCommand()
4983 vts[v].setValue(gfxVertices[v].xyzw[0], gfxVertices[v].xyzw[1], gfxVertices[v].xyzw[2]); in processCreateCollisionShapeCommand()
4984 … normals[v].setValue(gfxVertices[v].normal[0], gfxVertices[v].normal[1], gfxVertices[v].normal[2]); in processCreateCollisionShapeCommand()
5063 col.m_pVerticesOut = &gfxVertices; in processCreateCollisionShapeCommand()
5078 …urdfColObj.m_geometry.m_vertices[v].setValue(gfxVertices[v].xyzw[0], gfxVertices[v].xyzw[1], gfxVe… in processCreateCollisionShapeCommand()
5079 urdfColObj.m_geometry.m_uvs[v].setValue(gfxVertices[v].uv[0], gfxVertices[v].uv[1], 0); in processCreateCollisionShapeCommand()
5080 …urdfColObj.m_geometry.m_normals[v].setValue(gfxVertices[v].normal[0], gfxVertices[v].normal[1], gf… in processCreateCollisionShapeCommand()
[all …]