Returns a new 3D unit vector with a random direction. If you pass in this as an argument, it will use the PApplet's random number generator. @webref pvector:method @usage web_application @return the random PVector @webBrief Make a new 3D unit vector with a random direction @see PVector#rando
()
| 259 | * @see PVector#random2D() |
| 260 | */ |
| 261 | static public PVector random3D() { |
| 262 | return random3D(null, null); |
| 263 | } |
| 264 | |
| 265 | |
| 266 | /** |