Okay well as you can see from pretty much all of my recent posts i have been working in 3D using LWJGL and Libgdx and everytime i get to the same problem and that is either optimizesation or collision not working/ buggy
So i have redone my LWJGL engine and I have been working on this for about a day now and i have came to a problem, maybe? not completely sure if it is a problem or it is me just overreacting.
Okay i am trying to make a square and the end result is a rectangle is this correct?
vertices
-1,-1,-1
-1,1,-1 <-------- Same as in the code
1,1,-1
1,-1,-1
Result
Can somebody explain how the -1 to 1 system works as when i check for collision which i have done in the past i have noticed i have had to do x+(width/2) just to get the starting point?? Am i doing this correct?