Re: Native object(s) to convert quaternion to rotation matrix ??


Forums > Gen > Native object(s) to convert quaternion to rotation matrix ??

dtr
Sep 10 2012 | 7:51 pm

Hi guys,

I’m trying to put this code in js: http://www.gamespp.com/tutorials/matrixTransformationTutorial04.html

Looks like I got it but for some reason I don’t get the matrix output of my js to work (outlet 0). I doubled it with a message output and that seems to work fine (outlet 1).

Surely it’s something basic but what am I doing wrong here?

Tanx, D.

-- Pasted Max Patch, click to expand. --

Attachments:
  1. transform.js

Subscribe to the Cycling ’74 Weekly Newsletter

Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.

* indicates required