Vertex.cs 609 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace bbiwarg.Graphics
  7. {
  8. class Vertex
  9. {
  10. private float x;
  11. private float y;
  12. private float z;
  13. public Vertex(float x, float y, float z) {
  14. this.x = x;
  15. this.y = y;
  16. this.z = z;// 300;
  17. }
  18. public float getX()
  19. {
  20. return x;
  21. }
  22. public float getY()
  23. {
  24. return y;
  25. }
  26. public float getZ()
  27. {
  28. return z;
  29. }
  30. }
  31. }