Exemple #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();
 }
Exemple #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();
 }
Exemple #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();
 }
Exemple #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();
 }
Exemple #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);
 }
Exemple #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();
 }
Exemple #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();
 }
Exemple #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();
 }
Exemple #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();
 }
Exemple #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();
 }
Exemple #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();
 }
Exemple #12
0
 public void addVertex(Vec3M pos) {
   instance.addPos(pos.x, pos.y, pos.z);
 }
Exemple #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();
 }
Exemple #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();
 }
Exemple #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();
 }
Exemple #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);
 }
Exemple #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();
 }
Exemple #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();
 }
Exemple #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();
 }
Exemple #20
0
 public void addVertex(double xPos, double yPos, double zPos, float u, float v) {
   instance.addVertexData(xPos, yPos, zPos, u, v).endVertex();
 }
Exemple #21
0
 public void addVertex(Vec3M pos, float u, float v) {
   instance.addVertexData(pos.x, pos.y, pos.z, u, v).endVertex();
 }
Exemple #22
0
 public void addVertex(double xPos, double yPos, double zPos) {
   instance.addPos(xPos, yPos, zPos).endVertex();
 }
Exemple #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);
 }
Exemple #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);
 }