|
|
"Droj" <803### [at] drojde> wrote:
> I would love to see how you implement the third dimension!
>
Go ahead Droj,
grab the code and experiment. I abused the vector to make it work for 2d + angle
in a single data container. For 3, or more, dimensions, you have to separate
angle and position. Use two separate vectors or arrays. Or use a dictionary that
contains the pos and angle and other stuff you want to add in the future. For
example a LIFO array as a stack for push and pop operations.
#macro F(Pos, Angle)
....
#end
For me it was a proof of concept and I'll keep it that way. No new rabbit hole
for me at the moment.
Cheers,
ingo
Post a reply to this message
|
|