I am new to coffeescript. Is there any way that these three lines set the rotation and do the same thing as you would do in python, unpacking a tuple?
@cosines = [0,1,0] @branch.rotation.x = Math.asin(@cosines.x) @branch.rotation.y = Math.asin(@cosines.y) @branch.rotation.z = Math.asin(@cosines.z)
source share