Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Turn
  2. object Vector
  3. [ReadOnly]
  4. float X
  5. float Y
  6. float Z
  7.  
  8. Into
  9. class vector {
  10. float X;
  11. float Y;
  12. float Z;
  13.  
  14. public:
  15. float getX() {
  16. return X;
  17. }
  18. float getY() {
  19. return Y;
  20. }
  21. float getZ() {
  22. return Z;
  23. }
  24.  
  25. void setY(float Y) {
  26. this.Y = Y;
  27. }
  28. void setZ(float Z) {
  29. this.Z = Z;
  30. }
  31.  
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement