LWJGL
May 20, 2013, 23:24:25
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
LWJGL 2.9.0 released!
Home
Help
Search
Login
Register
LWJGL
>
Programming
>
OpenGL
>
Tranlate and rotate at the same time
Pages: [
1
]
« previous
next »
Print
Author
Topic: Tranlate and rotate at the same time (Read 838 times)
beerbox
Newbie
Posts: 1
Tranlate and rotate at the same time
«
on:
March 24, 2010, 04: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
Prolific Timewaster
Posts: 316
Re: Tranlate and rotate at the same time
«
Reply #1 on:
March 24, 2010, 05:03:12 »
you may use java2d
AffineTransform ->createtransformedshape(Shape)
to find transformed bounds.
Logged
Sf3JSwing project, code repo (Apache License) -
http://www.sourceforge.net/p/sf3jswing
Sf3jswing Project Forum -
http://apps.sourceforge.net/phpbb/sf3jswing/
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Programming
-----------------------------
=> Lightweight Java Library Game Development
=> LWJGL Documentation
=> Bug Reports / RFE
=> OpenGL
=> OpenAL
=> General Java Game Development
-----------------------------
Archive
-----------------------------
=> Resolved Bugs/RFE
=> DirectX
=> DevIL
=> FMOD
Loading...