Hello
Guest
Register
Login
1 Hour
1 Day
1 Week
1 Month
Forever
LWJGL 3.3.2 released
Menu
Home
Help
Search
Login
Register
go
LWJGL Forum
Programming
OpenGL
Tranlate and rotate at the same time
« previous
next »
Print
Pages: [
1
]
Tranlate and rotate at the same time
1 Replies
4070 Views
beerbox
1
Tranlate and rotate at the same time
«
on:
March 24, 2010, 11:25:03 »
i have a square
. I rotated him and now i want to translate him (when i push KEY_W) but in the way wich i rotate my square.
I need horizontal and vertical bounds. how can i check it?
Logged
broumbroum
361
Re: Tranlate and rotate at the same time
«
Reply #1 on:
March 24, 2010, 12:03:12 »
you may use java2d
AffineTransform ->createtransformedshape(Shape)
to find transformed bounds.
Logged
Github fork of LWJGL
Print
Pages: [
1
]
« previous
next »