1 #ifndef COIN_SOPRIMITIVEVERTEX_H
2 #define COIN_SOPRIMITIVEVERTEX_H
27 #include <Inventor/SbVec2f.h>
28 #include <Inventor/SbVec3f.h>
29 #include <Inventor/SbVec4f.h>
30 #include <Inventor/system/inttypes.h>
50 void setPoint(
float x,
float y,
float z) { point.setValue(x, y, z); }
52 void setNormal(
float nx,
float ny,
float nz) { normal.setValue(nx, ny, nz); }
54 void setTextureCoords(
float tx,
float ty) { textureCoords.setValue(tx, ty, 0.0f, 1.0f); }
56 void setTextureCoords(
float tx,
float ty,
float tz) { textureCoords.setValue(tx, ty, tz, 1.0f); }
58 void setTextureCoords(
float tx,
float ty,
float tz,
float tw) { textureCoords.
setValue(tx, ty, tz, tw); }
74 #endif // !COIN_SOPRIMITIVEVERTEX_H