Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

ofNode efficient set position, scale and orientation

$
0
0

@NickHardeman wrote:

What is the most efficient way to set all three? If I call setPosition(), setScale() and then setOrientation(), it works as expected, but the createMatrix function is called for each of those functions. Any advice on how to reduce calls to the createMatrix function? Something like
set( vec3 pos, vec3 scale, quat orientation) would be helpful.

Thanks!
Nick

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles