www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: milter on February 03, 2014, 08:38:55 pm

Title: How to get current camera rotation
Post by: milter on February 03, 2014, 08:38:55 pm
Hi guys

How can i get the current camera rotation of any axis?

Thx

Milter
Title: Re: How to get current camera rotation
Post by: EgonOlsen on February 03, 2014, 08:48:16 pm
Have a look here: http://www.jpct.net/forum2/index.php/topic,576.0.html (http://www.jpct.net/forum2/index.php/topic,576.0.html)
Title: Re: How to get current camera rotation
Post by: milter on February 04, 2014, 11:42:42 am
I see, but how do i get the rotation matrix of the camera?

Thank you
Title: Re: How to get current camera rotation
Post by: EgonOlsen on February 04, 2014, 02:30:48 pm
Code: [Select]
camera.getBack();