Samium Gromoff <[EMAIL PROTECTED]> writes:

> If you make coords compound, you'd have to provide the compound operations --
> sum, scale, min, max, etc etc.

Good point.

> 
> Now, i think compound makes more sense, in general.
> 
> OTOH, choosing a certain compound format is going to shovel that down
> everybody`s throats, so it has to be designed carefully.
> 
> For the code i use, i have choosed a type (cons fixnum fixnum) as the
> compound representation. If you wish i might send you the code...

The point code that exists in lispbuilder-sdl makes use of vectors. So #(10 
10), (vector 10 10), or (point 10 10) all do the same thing.

Do you have code for the compound operations?

- Luke

_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to