Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help3003


This forum is provided to promote discussion amongst students enrolled in Graphics and Animation (CITS3003).
 
Options:
RSS cloud
Jump to:

Error in rotating about Y axis matrice in lab4

1 of 275 articles shown, currently no other people reading this forum.
photo
From: ANONYMOUS
Date: Fri 27th Mar, 1:58pm
Actions: 
        Login-to-reply
ANONYMOUS wrote:

> For question 6 of the solutions, it states that the Y multiplier is:
> 
>                              mat3( vec3(cos(angle),  0.0, -sin(angle)),
>                                      vec3(0.0,         1.0,         0.0),
>                                      vec3(-sin(angle), 0.0,  cos(angle)) );
> 
> but shouldnt the Y multiplier be:
> 
>                                 mat3( vec3(cos(angle),  0.0, sin(angle)),
>                                      vec3(0.0,         1.0,         0.0),
>                                      vec3(-sin(angle), 0.0,  cos(angle)) );

Have you tried which one gives the correct output? 

Related articles

Error in rotating about Y axis matrice in lab4 (both) RSS
├─ original   Thu 26th Mar, 4:58pm, ANONYMOUS
└─ THIS   Fri 27th Mar, 1:58pm, ANONYMOUS
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  8:27am May 24 2020