Ruben’s blog

Ruben Swieringa on Actionscript and a whole lot of other stuff..

Month: May, 2007

Trimming coordinate Arrays

A few days ago I started creating some (AS3) classes that made it easier to work with geometry.
One method in the Geom class lets you trim a shape (actually an Array of Points) with a Rectangle, trimming off everything that is outside of the Rectangle. Do note that is still a very early version, and [...]

ArrayTool

It’s been a while since my last post, so I decided to quickly drop by and leave a little present. This is my ArrayTool utility with no less than two methods! (oh happy day)
Go check it out right here:
Documentation
Source
Again, no demo since the usage of this class can pretty much be anything really.
As I said, [...]