It would be nice (and easy to implement) to have a method to generate a random Vec2 or Vec3. I’m thinking that these two methods could be added to the existing pc.math.random or just along with it.
Ex:
pc.math.random.vec3
or just
pc.math.randomVec3
There is also the possibility to add it directly on the Vec2 and Vec3 classes.
Ex:
pc.Vec3.random
All these would beat having to do:
new Vec3(pc.math.random(0,1), pc.math.random(0,1), pc.math.random(0,1))