예제 #1
0
 public void addVertex(
     double xPos, double yPos, double zPos, float r, float g, float b, float a) {
   instance.addPos(xPos, yPos, zPos).addColor(r, g, b, a).endVertex();
 }
예제 #2
0
 public void addVertex(double xPos, double yPos, double zPos, ColorF color) {
   instance.addPos(xPos, yPos, zPos).addColor(color.r, color.g, color.b, color.a).endVertex();
 }
예제 #3
0
 public void addVertex(Vec3M pos, float r, float g, float b, float a) {
   instance.addPos(pos.x, pos.y, pos.z).addColor(r, g, b, a).endVertex();
 }
예제 #4
0
 public void addVertex(Vec3M pos, ColorF color) {
   instance.addPos(pos.x, pos.y, pos.z).addColor(color.r, color.g, color.b, color.a).endVertex();
 }
예제 #5
0
 public void addVertex(double xPos, double yPos, double zPos) {
   instance.addPos(xPos, yPos, zPos).endVertex();
 }
예제 #6
0
 public void addVertex(Vec3M pos) {
   instance.addPos(pos.x, pos.y, pos.z);
 }