This may be an easy task, but I cant figure it out. This is a 2d game using the LWJGL library. I've created the player using openGL and the bullets with openGL. The bullets go 90 degrees more to the right.
Classes:
So, how can I fix that? If its only adding 90 degrees can you tell me how?
Thanks
LWJGL使用弧度,因此在转换为弧度之前,您需要将度数加90。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.