示例#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);
 }