Random vectors

28 views
Skip to first unread message

Bruce Sherwood

unread,
May 30, 2016, 3:15:31 PM5/30/16
to Glowscript Users
There is a function that creates a random vector which wasn't previously mentioned in the Help:

vector.random() produces a vector each of whose components are random numbers in the range -1 to +1

This can also be written as vec.random().


Reply all
Reply to author
Forward
0 new messages