示例#1
0
 public void addVertex(Vec3M pos, float u, float v, ColorF color, Vec3M normal) {
   instance
       .addVertexData(pos.x, pos.y, pos.z, u, v)
       .addColor(color.r, color.g, color.b, color.a)
       .addNormal((float) normal.x, (float) normal.y, (float) normal.z)
       .endVertex();
 }
示例#2
0
 public void addVertex(
     Vec3M pos, float u, float v, float r, float g, float b, float a, Vec3M normal) {
   instance
       .addVertexData(pos.x, pos.y, pos.z, u, v)
       .addColor(r, g, b, a)
       .addNormal((float) normal.x, (float) normal.y, (float) normal.z)
       .endVertex();
 }
示例#3
0
 public void addVertex(
     Vec3M pos, float u, float v, ColorF color, float xNormal, float yNormal, float zNormal) {
   instance
       .addVertexData(pos.x, pos.y, pos.z, u, v)
       .addColor(color.r, color.g, color.b, color.a)
       .addNormal(xNormal, yNormal, zNormal)
       .endVertex();
 }
示例#4
0
 public void addVertex(
     double xPos, double yPos, double zPos, float u, float v, ColorF color, Vec3M normal) {
   instance
       .addVertexData(xPos, yPos, zPos, u, v)
       .addColor(color.r, color.g, color.b, color.a)
       .addNormal((float) normal.x, (float) normal.y, (float) normal.z)
       .endVertex();
 }
示例#5
0
 public void addVertex(
     double xPos,
     double yPos,
     double zPos,
     float u,
     float v,
     float xNormal,
     float yNormal,
     float zNormal) {
   instance.addVertexData(xPos, yPos, zPos, u, v, xNormal, yNormal, zNormal);
 }
示例#6
0
 public void addVertex(
     double xPos,
     double yPos,
     double zPos,
     float u,
     float v,
     float r,
     float g,
     float b,
     float a) {
   instance.addVertexData(xPos, yPos, zPos, u, v).addColor(r, g, b, a).endVertex();
 }
示例#7
0
 public void addVertex(
     double xPos,
     double yPos,
     double zPos,
     float u,
     float v,
     ColorF color,
     float xNormal,
     float yNormal,
     float zNormal) {
   instance
       .addVertexData(xPos, yPos, zPos, u, v)
       .addColor(color.r, color.g, color.b, color.a)
       .addNormal(xNormal, yNormal, zNormal)
       .endVertex();
 }
示例#8
0
 public void addVertex(
     double xPos,
     double yPos,
     double zPos,
     float u,
     float v,
     float r,
     float g,
     float b,
     float a,
     Vec3M normal) {
   instance
       .addVertexData(xPos, yPos, zPos, u, v)
       .addColor(r, g, b, a)
       .addNormal((float) normal.x, (float) normal.y, (float) normal.z)
       .endVertex();
 }
示例#9
0
 public void addVertex(
     Vec3M pos,
     float u,
     float v,
     float r,
     float g,
     float b,
     float a,
     float xNormal,
     float yNormal,
     float zNormal) {
   instance
       .addVertexData(pos.x, pos.y, pos.z, u, v)
       .addColor(r, g, b, a)
       .addNormal(xNormal, yNormal, zNormal)
       .endVertex();
 }
示例#10
0
 public void addVertex(
     double xPos,
     double yPos,
     double zPos,
     float u,
     float v,
     float red,
     float green,
     float blue,
     float alpha,
     int xLight,
     int yLight) {
   instance
       .addVertexData(xPos, yPos, zPos, u, v)
       .addColor(red, green, blue, alpha)
       .lightmap(xLight, yLight)
       .endVertex();
 }
示例#11
0
 public void addVertex(
     double xPos,
     double yPos,
     double zPos,
     float u,
     float v,
     float r,
     float g,
     float b,
     float a,
     float xNormal,
     float yNormal,
     float zNormal) {
   instance
       .addVertexData(xPos, yPos, zPos, u, v)
       .addColor(r, g, b, a)
       .addNormal(xNormal, yNormal, zNormal)
       .endVertex();
 }
示例#12
0
 public void addVertex(Vec3M pos) {
   instance.addPos(pos.x, pos.y, pos.z);
 }
示例#13
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();
 }
示例#14
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();
 }
示例#15
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();
 }
示例#16
0
 public void addVertex(double xPos, double yPos, double zPos, float u, float v, Vec3M normal) {
   instance.addVertexData(
       xPos, yPos, zPos, u, v, (float) normal.x, (float) normal.y, (float) normal.z);
 }
示例#17
0
 public void addVertex(double xPos, double yPos, double zPos, float u, float v, ColorF color) {
   instance
       .addVertexData(xPos, yPos, zPos, u, v)
       .addColor(color.r, color.g, color.b, color.a)
       .endVertex();
 }
示例#18
0
 public void addVertex(Vec3M pos, float u, float v, float r, float g, float b, float a) {
   instance.addVertexData(pos.x, pos.y, pos.z, u, v).addColor(r, g, b, a).endVertex();
 }
示例#19
0
 public void addVertex(Vec3M pos, float u, float v, ColorF color) {
   instance
       .addVertexData(pos.x, pos.y, pos.z, u, v)
       .addColor(color.r, color.g, color.b, color.a)
       .endVertex();
 }
示例#20
0
 public void addVertex(double xPos, double yPos, double zPos, float u, float v) {
   instance.addVertexData(xPos, yPos, zPos, u, v).endVertex();
 }
示例#21
0
 public void addVertex(Vec3M pos, float u, float v) {
   instance.addVertexData(pos.x, pos.y, pos.z, u, v).endVertex();
 }
示例#22
0
 public void addVertex(double xPos, double yPos, double zPos) {
   instance.addPos(xPos, yPos, zPos).endVertex();
 }
示例#23
0
 public void addVertex(
     Vec3M pos, float u, float v, float xNormal, float yNormal, float zNormal) {
   instance.addVertexData(pos.x, pos.y, pos.z, u, v, xNormal, yNormal, zNormal);
 }
示例#24
0
 public void addVertex(Vec3M pos, float u, float v, Vec3M normal) {
   instance.addVertexData(
       pos.x, pos.y, pos.z, u, v, (float) normal.x, (float) normal.y, (float) normal.z);
 }