1 #ifndef COIN_SOPRIMITIVEVERTEX_H
2 #define COIN_SOPRIMITIVEVERTEX_H
36 #include <Inventor/SbVec2f.h>
37 #include <Inventor/SbVec3f.h>
38 #include <Inventor/SbVec4f.h>
39 #include <Inventor/system/inttypes.h>
59 void setPoint(
float x,
float y,
float z) { point.setValue(x, y, z); }
61 void setNormal(
float nx,
float ny,
float nz) { normal.setValue(nx, ny, nz); }
63 void setTextureCoords(
float tx,
float ty) { textureCoords.setValue(tx, ty, 0.0f, 1.0f); }
65 void setTextureCoords(
float tx,
float ty,
float tz) { textureCoords.setValue(tx, ty, tz, 1.0f); }
67 void setTextureCoords(
float tx,
float ty,
float tz,
float tw) { textureCoords.
setValue(tx, ty, tz, tw); }
83 #endif // !COIN_SOPRIMITIVEVERTEX_H