Hi larspensjo,
Thanks for clarifying, I've updated the question by removing the reference to the "window" matrix.
Also could you confirm the order then, for matrix multiplication:
[source lang="java"]modelViewMatrix = viewMatrix * modelMatrix; //??modelViewProjectionMatrix = projectionMatrix * modelViewMatrix; //??[/source]
...Assuming matrix mul() ordering is thisMatrix * otherMatrix?
Show differencesHistory of post edits
#2NickWiggill
Posted 06 July 2012 - 01:03 PM
Hi larspensjo,
Thanks for clarifying, I've updated the question by removing the reference to the "window" matrix.
Also could you confirm the order then, for matrix multiplication:
[source lang="java"]modelViewMatrix = viewMatrix * modelMatrix; //??modelViewProjectionMatrix = projectionMatrix * modelViewMatrix; //??[/source]
...Assuming matrix mul() is thisMatrix * otherMatrix?
Thanks for clarifying, I've updated the question by removing the reference to the "window" matrix.
Also could you confirm the order then, for matrix multiplication:
[source lang="java"]modelViewMatrix = viewMatrix * modelMatrix; //??modelViewProjectionMatrix = projectionMatrix * modelViewMatrix; //??[/source]
...Assuming matrix mul() is thisMatrix * otherMatrix?
#1NickWiggill
Posted 06 July 2012 - 01:03 PM
Hi larspensjo,
Thanks for clarifying, I've updated the question by removing the reference to the "window" matrix.
Also could you confirm the order then, for matrix multiplication:
[source lang="java"]modelViewMatrix = viewMatrix * modelMatrix; //??modelViewProjectionMatrix = projectionMatrix * modelViewMatrix; //??[/source]
...Assuming matrix mul() is thisMatrix * otherMatrix?
Thanks for clarifying, I've updated the question by removing the reference to the "window" matrix.
Also could you confirm the order then, for matrix multiplication:
[source lang="java"]modelViewMatrix = viewMatrix * modelMatrix; //??modelViewProjectionMatrix = projectionMatrix * modelViewMatrix; //??[/source]
...Assuming matrix mul() is thisMatrix * otherMatrix?