random3D()

ランダムな方向を持つ新しい3D単位ベクトルを作成します。

実例

リターン

p5.Vector: 新しい p5.Vector オブジェクト。
Notice any errors or typos? Please let us know. Please feel free to edit src/math/p5.Vector.js and open a pull request!

関連するリファレンス