Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17124

Cc 2.2.1: matrix mulScalar function gives error, why?

$
0
0

@MikeFromMars wrote:

Hi…,

why is mulScalar gives an error?

var mat = new cc.Mat4();
mat.identity();
mat.mulScalar( 250, mat ); // TypeError: _vmath.mat4.mulScalar is not a function

Thanks

Mike

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17124

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>