@NickHardeman wrote:
What is the most efficient way to set all three? If I call
setPosition()
,setScale()
and thensetOrientation()
, 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