08-03-2006 15:36:57

A little update on what I’ve been doing the past couple days. I finally got StaticGeometry and its subclasses wrapped. The Demo Grass works fully with the grass waving. Not all of it has been tested, just basically what Demo Grass uses.

Because I still let swig do the hard part (Pinvoke stuff) there are 2 layers of proxy classes: Swig's proxy classes and a custom proxy classes that hold a pointer for each subclass and exposes the functions.

The Names I’ve picked for its subclasses are a bit unimaginative. Any suggestions on naming before I update cvs?
SGRegionProxy is StaticGeometry::Region
SGLODBucketProxy is StaticGeometry::LODBucket
They all follow this line. Maybe I should drop the "Proxy" part?


08-03-2006 18:32:36

Yeah, if there's no need for the Proxy part, why have it? The entire wrapper is a proxy, really. :)