Searched refs:VertNum (Results 1 – 2 of 2) sorted by relevance
/dports/cad/repsnapper/repsnapper-2.5a4/libraries/amf/amftools-code/src/ |
H A D | X3D_File.cpp | 315 if (NumVertPerFacet == 3) return coordIndex[TriNum*4+VertNum]; in GetCoordInd() 317 if(TriNum%2 == 0) return coordIndex[(TriNum/2)*5+VertNum]; //first triangle of quad (012) in GetCoordInd() 318 …else if (VertNum != 0) return coordIndex[(TriNum/2)*5+1+VertNum]; //second triangle of quad, last … in GetCoordInd() 354 if (HasAlpha) return ColorRGBA[colorIndex[GetCoordInd(TriNum, VertNum)]*4+(int)Chan]; in GetColorVert() 355 else return Color[colorIndex[GetCoordInd(TriNum, VertNum)]*3+(int)Chan]; in GetColorVert() 358 if (HasAlpha) return ColorRGBA[GetCoordInd(TriNum, VertNum)*4+(int)Chan]; in GetColorVert() 359 else return Color[GetCoordInd(TriNum, VertNum)*3+(int)Chan]; in GetColorVert() 363 int xIndexedFaceSetNode::GetTexCoordInd(int TriNum, int VertNum) //copied fromG etCoordInd () in GetTexCoordInd() argument 365 if (NumVertPerFacet == 3) return texCoordIndex[TriNum*4+VertNum]; in GetTexCoordInd() 367 if(TriNum%2 == 0) return texCoordIndex[(TriNum/2)*5+VertNum]; //first triangle of quad (012) in GetTexCoordInd() [all …]
|
/dports/cad/repsnapper/repsnapper-2.5a4/libraries/amf/amftools-code/include/ |
H A D | X3D_File.h | 83 int GetCoordInd(int TriNum, int VertNum); //VertNum is 0, 1, or 2 88 …double GetColorVert(int TriNum, int VertNum, ColChan Chan); //vertex color (make sure Color && col… 89 int GetTexCoordInd(int TriNum, int VertNum); 90 …ouble GetTexCoord(int TriNum, int VertNum, TexCoordAxis Axis){ return TextureCoordinate[GetTexCoor… in GetTexCoord() argument
|