/dports/games/atr3d/atr3d/ |
H A D | asteroid.cpp | 12 int VertexNum; in InitAsteroid() local 26 VertexNum=(x*4+y*2+z+7)/2; in InitAsteroid() 30 AsteroidModels[asteroidNum]->Sides[VertexNum].Vertices[0]->x=x; in InitAsteroid() 31 AsteroidModels[asteroidNum]->Sides[VertexNum].Vertices[0]->y=0.0; in InitAsteroid() 32 AsteroidModels[asteroidNum]->Sides[VertexNum].Vertices[0]->z=0.0; in InitAsteroid() 36 AsteroidModels[asteroidNum]->Sides[VertexNum].Vertices[1]->x=0.0; in InitAsteroid() 37 AsteroidModels[asteroidNum]->Sides[VertexNum].Vertices[1]->y=y; in InitAsteroid() 38 AsteroidModels[asteroidNum]->Sides[VertexNum].Vertices[1]->z=0.0; in InitAsteroid() 42 AsteroidModels[asteroidNum]->Sides[VertexNum].Vertices[2]->x=0.0; in InitAsteroid() 43 AsteroidModels[asteroidNum]->Sides[VertexNum].Vertices[2]->y=0.0; in InitAsteroid() [all …]
|
/dports/games/astromenace/astromenace-1.4.1/gamedata/glsl/ |
H A D | particle.vert | 18 float VertexNum = gl_MultiTexCoord0[0]; 27 if ((VertexNum == 1.0) || (VertexNum == 3.0)) { 31 if (VertexNum == 1.0) { 36 // VertexNum == 3.0 42 if (VertexNum == 2.0) { 47 // VertexNum == 4.0
|
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/geometry/subdivision/subUtil/ |
H A D | VolMeshHexRev.cpp | 86 number_t VertexNum, ElementNum; in VolMeshHexCone() local 89 initMesh(nbslices,radius1,radius2,CP,VertexNum,ElementNum,vSI); in VolMeshHexCone() 90 buildNcheck(VertexNum); in VolMeshHexCone() 134 number_t VertexNum, ElementNum; in VolMeshHexCylinder() local 137 initMesh(nbslices,radius,radius,CP,VertexNum,ElementNum,vSI); in VolMeshHexCylinder() 138 buildNcheck(VertexNum); in VolMeshHexCylinder()
|
H A D | SurfMeshQuaRev.cpp | 87 number_t VertexNum, ElementNum; in SurfMeshQuaCone() local 92 initMesh(nbslices,radius1,radius2,CP,VertexNum,ElementNum,vSI); in SurfMeshQuaCone() 93 buildNcheck(VertexNum); in SurfMeshQuaCone() 140 number_t VertexNum, ElementNum; in SurfMeshQuaCylinder() local 145 initMesh(nbslices,radius,radius,CP,VertexNum,ElementNum,vSI); in SurfMeshQuaCylinder() 146 buildNcheck(VertexNum); in SurfMeshQuaCylinder()
|
H A D | SurfMeshTriRev.cpp | 89 number_t VertexNum, ElementNum; in SurfMeshTriCone() local 95 initMesh(nbslices,radius1,radius2,CP,VertexNum,ElementNum,vSI); in SurfMeshTriCone() 98 initMeshCone(nbslices,radius1,radius2,CP,VertexNum,ElementNum,vSI); in SurfMeshTriCone() 100 buildNcheck(VertexNum); in SurfMeshTriCone() 127 number_t& VertexNum, number_t& ElementNum, in initMeshCone() argument 195 VertexNum = minVertexNum_ - 1; in initMeshCone() 197 iPh, iPhSD, VertexNum, ElementNum, Pt, prevRitrf, rVaFirst); in initMeshCone() 202 listV_.push_back(Vertex(++VertexNum,sDOM,P2)); // rank rVd in initMeshCone() 281 number_t VertexNum, ElementNum; in SurfMeshTriCylinder() local 286 initMesh(nbslices,radius,radius,CP,VertexNum,ElementNum,vSI); in SurfMeshTriCylinder() [all …]
|
H A D | VolMeshTetRev.cpp | 89 number_t VertexNum, ElementNum; in VolMeshTetCone() local 95 initMesh(nbslices,radius1,radius2,CP,VertexNum,ElementNum,vSI); in VolMeshTetCone() 98 initMeshCone(nbslices,radius1,radius2,CP,VertexNum,ElementNum,vSI); in VolMeshTetCone() 100 buildNcheck(VertexNum); in VolMeshTetCone() 127 number_t& VertexNum, number_t& ElementNum, in initMeshCone() argument 198 VertexNum = minVertexNum_ - 1; in initMeshCone() 200 iPh, iPhSD, VertexNum, ElementNum, Pt, prevRitrf, rVaFirst, rVc); in initMeshCone() 206 listV_.push_back(Vertex(++VertexNum,sBS|sITF|sDOM,P2)); // rank rVd in initMeshCone() 286 number_t VertexNum, ElementNum; in VolMeshTetCylinder() local 291 initMesh(nbslices,radius,radius,CP,VertexNum,ElementNum,vSI); in VolMeshTetCylinder() [all …]
|
H A D | HexahedronMesh.hpp | 76 void algoSubdivH(const Hexahedron& T, number_t& ElementNum, number_t& VertexNum, 81 void buildMesh(number_t& VertexNum);// override 84 virtual void createHOfV(Hexahedron& Elem, const number_t order, number_t& VertexNum, 88 virtual void createHOiV(Hexahedron& T, const number_t order, number_t& VertexNum); 93 number_t& VertexNum, number_t& ElementNum, const std::vector<ShapeInfo>& vSI);
|
H A D | TetrahedronMesh.cpp | 182 number_t& VertexNum, vector<Tetrahedron>& listT, in algoSubdiv() argument 187 rV[i]=createVertex(VertexNum,T.rkOfO1VeOnEdge(i+1),SeenEdges);} in algoSubdiv() 268 T.vertices_.push_back(VertexNum); in createHOiV() 270 listV_.push_back(Vertex(++VertexNum,localcod,P)); in createHOiV() 293 const vector<Point>& CharacPts, number_t& VertexNum, in initMesh() argument 365 VertexNum = minVertexNum_ - 1; in initMesh() 367 iPh, iPhSD, VertexNum, ElementNum, Pt, prevRitrf, rVaFirst, rVc); in initMesh() 391 listV_.push_back(Vertex(++VertexNum,sBEs2|sBS|sITF|sDOM,Pt[np])); in initMesh() 438 listV_.push_back(Vertex(++VertexNum,sBEs2 |sITF|sDOM,Pt[4])); in initMesh() 554 listV_.push_back(Vertex(++VertexNum,sBS|sITF|sDOM,Pt[np])); in startConeTrunk() [all …]
|
H A D | SimplexMesh.cpp | 46 void SimplexMesh<T_>::computeHOfV(T_& Elem, const number_t order, number_t& VertexNum, in computeHOfV() argument 65 Elem.vertices_.push_back(VertexNum); in computeHOfV() 67 this->listV_.push_back(Vertex(++VertexNum,localcod,P)); in computeHOfV() 76 void SimplexMesh<T_>::createHOfV(T_& Elem, const number_t order, number_t& VertexNum, in createHOfV() argument 91 pair_in NV (VertexNum, rV1); in createHOfV() 94 computeHOfV(Elem, order, VertexNum, vrV); in createHOfV()
|
H A D | GeomFigureMesh.hpp | 214 virtual void algoSubdiv(const T_& T, number_t& ElementNum, number_t& VertexNum, 218 void buildNcheck(number_t& VertexNum); 221 virtual void buildMesh(number_t& VertexNum); 227 void createHOV(number_t& VertexNum); 230 virtual void createHOeV(T_& Elem, const number_t order, number_t& VertexNum, 234 virtual void createHOfV(T_& Elem, const number_t order, number_t& VertexNum, 238 virtual void createHOiV(T_& Elem, const number_t order, number_t& VertexNum) = 0;
|
H A D | CartesianMesh.hpp | 69 void computeHOfV(T_& Elem, const number_t order, number_t& VertexNum, 73 void computeHOfV4CP(T_& Elem, const number_t order, number_t& VertexNum, 77 virtual void createHOfV(T_& Elem, const number_t order, number_t& VertexNum, 81 virtual void createHOiV(T_& Elem, const number_t order, number_t& VertexNum) = 0;
|
H A D | TriangleMesh.hpp | 85 void algoSubdiv(const Triangle& T, number_t& ElementNum, number_t& VertexNum, 92 virtual void createHOfV(Triangle& Elem, const number_t order, number_t& VertexNum, in createHOfV() argument 96 virtual void createHOiV(Triangle& Elem, const number_t order, number_t& VertexNum); 102 number_t& VertexNum, number_t& ElementNum, const std::vector<ShapeInfo>& vSI); 107 number_t& iPh, number_t& iPhSD, number_t& VertexNum, number_t& ElementNum,
|
H A D | CartesianMesh.cpp | 47 void CartesianMesh<T_>::computeHOfV(T_& Elem, const number_t order, number_t& VertexNum, in computeHOfV() argument 85 Elem.vertices_.push_back(VertexNum); in computeHOfV() 87 this->listV_.push_back(Vertex(++VertexNum,localcod,P)); in computeHOfV() 101 void CartesianMesh<T_>::computeHOfV4CP(T_& Elem, const number_t order, number_t& VertexNum, in computeHOfV4CP() argument 151 number_t valrk=VertexNum; in computeHOfV4CP() 176 Elem.vertices_.push_back(VertexNum); in computeHOfV4CP() 178 this->listV_.push_back(Vertex(++VertexNum,localcod,*itpts)); in computeHOfV4CP()
|
H A D | HexahedronMesh.cpp | 140 rV[irv++]=createVertex(VertexNum,T.rankOfVertices()); in algoSubdivH() 179 void HexahedronMesh::buildMesh(number_t& VertexNum){ in buildMesh() argument 228 pair_in NV (VertexNum * curFacOri, rV1); in createHOfV() 240 else { computeHOfV (Elem, order, VertexNum, vrV); } in createHOfV() 398 number_t valrk=VertexNum; in createHOiV() 432 T.vertices_.push_back(VertexNum); in createHOiV() 434 this->listV_.push_back(Vertex(++VertexNum,localcod,*itpts)); in createHOiV() 485 T.vertices_.push_back(VertexNum); in createHOiV() 487 listV_.push_back(Vertex(++VertexNum,localcod,P)); in createHOiV() 613 VertexNum = minVertexNum_ - 1; in initMesh() [all …]
|
H A D | TriangleMesh.cpp | 138 number_t& VertexNum, vector<Triangle>& listT, in algoSubdiv() argument 143 rV[i]=createVertex(VertexNum,T.rkOfO1VeOnEdge(i+1),SeenEdges);} in algoSubdiv() 168 computeHOfV(T, order, VertexNum, T.rkOfO1VeOnFace(1)); in createHOiV() 266 VertexNum = minVertexNum_ - 1; in initMesh() 268 iPh, iPhSD, VertexNum, ElementNum, Pt, prevRitrf, rVaFirst); in initMesh() 291 listV_.push_back(Vertex(++VertexNum,sBEs2|sITFslice|sDOM,Pt[np])); in initMesh() 308 listV_.push_back(Vertex(++VertexNum,sDOM,TopPt)); // rank rVd in initMesh() 337 listV_.push_back(Vertex(++VertexNum,sDOM,Pt[4])); in initMesh() 414 listV_.push_back(Vertex(++VertexNum,sDOM,BottomPt)); // rank 0 in startConeTrunk() 480 listV_.push_back(Vertex(++VertexNum,sDOM,Pt[4])); // rank 0 (rVc) in startConeTrunk() [all …]
|
H A D | QuadrangleMesh.hpp | 80 void algoSubdiv(const Quadrangle& T, number_t& ElementNum, number_t& VertexNum, 87 virtual void createHOfV(Quadrangle& Elem, const number_t order, number_t& VertexNum, in createHOfV() argument 91 virtual void createHOiV(Quadrangle& Elem, const number_t order, number_t& VertexNum); 96 number_t& VertexNum, number_t& ElementNum, const std::vector<ShapeInfo>& vSI);
|
H A D | TetrahedronMesh.hpp | 84 void algoSubdiv(const Tetrahedron& T, number_t& ElementNum, number_t& VertexNum, 88 virtual void createHOiV(Tetrahedron& T, const number_t order, number_t& VertexNum); 93 number_t& VertexNum, number_t& ElementNum, const std::vector<ShapeInfo>& vSI); 98 number_t& iPh, number_t& iPhSD, number_t& VertexNum, number_t& ElementNum,
|
H A D | SurfMeshQuaSet.cpp | 91 number_t VertexNum, ElementNum; in SurfMeshQuaSet() local 92 initMesh(pts,tri,bound,VertexNum,ElementNum); in SurfMeshQuaSet() 93 buildNcheck(VertexNum); in SurfMeshQuaSet() 105 number_t& VertexNum, number_t& ElementNum){ in initMesh() argument 150 VertexNum = minVertexNum_ - 1 + nmax; in initMesh()
|
H A D | SurfMeshTriSet.cpp | 91 number_t VertexNum, ElementNum; in SurfMeshTriSet() local 92 initMesh(pts,tri,bound,VertexNum,ElementNum); in SurfMeshTriSet() 93 buildNcheck(VertexNum); in SurfMeshTriSet() 105 number_t& VertexNum, number_t& ElementNum){ in initMesh() argument 150 VertexNum = minVertexNum_ - 1 + nmax; in initMesh()
|
H A D | SimplexMesh.hpp | 72 void computeHOfV(T_& Elem, const number_t order, number_t& VertexNum, 76 virtual void createHOfV(T_& Elem, const number_t order, number_t& VertexNum, 80 virtual void createHOiV(T_& Elem, const number_t order, number_t& VertexNum) = 0;
|
H A D | SurfMeshTriDisk.cpp | 76 number_t VertexNum, ElementNum; in SurfMeshTriDisk() local 77 initMesh(radius,Center,angmin,angmax,VertexNum,ElementNum); in SurfMeshTriDisk() 78 buildNcheck(VertexNum); in SurfMeshTriDisk() 90 number_t& VertexNum, number_t& ElementNum){ in initMesh() argument 167 VertexNum = VN - 1; in initMesh()
|
H A D | GeomFigureMesh.cpp | 435 void GeomFigureMesh<T_>::buildNcheck(number_t& VertexNum) { in buildNcheck() argument 438 buildMesh(VertexNum); in buildNcheck() 446 createHOV(VertexNum); // throw (HOV_error) in buildNcheck() 498 void GeomFigureMesh<T_>::buildMesh(number_t& VertexNum){ in buildMesh() argument 512 algoSubdiv(*itT,ElementNum,VertexNum,tmplistT,SeenEdges); in buildMesh() 541 void GeomFigureMesh<T_>::createHOV(number_t& VertexNum){ in createHOV() argument 549 createHOeV(*itT,order_,VertexNum,numEdge,SeenEdges); in createHOV() 553 createHOfV(*itT,order_,VertexNum,numFace,SeenFaces); in createHOV() 556 createHOiV(*itT,order_,VertexNum); in createHOV() 581 pair_nn NV (VertexNum, rV1); in createHOeV() [all …]
|
H A D | SurfMeshTriSphere.cpp | 191 VertexNum += 12; in initMesh() 257 VertexNum += 3; in initMesh() 298 VertexNum += 4; in initMesh() 343 VertexNum += 5; in initMesh() 387 VertexNum += 5; in initMesh() 426 VertexNum += 4; in initMesh() 487 VertexNum += 6; in initMesh() 536 VertexNum += 6; in initMesh() 589 VertexNum += 6; in initMesh() 637 VertexNum += 6; in initMesh() [all …]
|
H A D | SurfMeshQuaDisk.cpp | 76 number_t VertexNum, ElementNum; in SurfMeshQuaDisk() local 77 initMesh(radius,Center,angmin,angmax,VertexNum,ElementNum); in SurfMeshQuaDisk() 78 buildNcheck(VertexNum); in SurfMeshQuaDisk() 90 number_t& VertexNum, number_t& ElementNum){ in initMesh() argument 225 VertexNum = VN - 1; in initMesh()
|
H A D | VolMeshTetSphere.cpp | 92 buildNcheck(VertexNum); in VolMeshTetSphere() 251 VertexNum += 13; in initMesh() 319 VertexNum += 4; in initMesh() 365 VertexNum += 5; in initMesh() 417 VertexNum += 6; in initMesh() 471 VertexNum += 6; in initMesh() 512 VertexNum += 4; in initMesh() 572 VertexNum += 7; in initMesh() 632 VertexNum += 7; in initMesh() 696 VertexNum += 7; in initMesh() [all …]
|