random3D()

Creates a new 3D unit vector with a random heading.

उदाहरण

Returns

p5.Vector: new p5.Vector object.
Notice any errors or typos? Please let us know. Please feel free to edit src/math/p5.Vector.js and open a pull request!

संबंधित संदर्भ