I hate Flash

/Users/greay/projs/PROTOTYPES/branches/20090214-reproduction_branch_3D/Part.as(165): col: 34 Error: Type was not found or was not a compile-time constant: TriangleMesh3D.

		public function createMesh() : TriangleMesh3D {
		                               ^

after much ripping out of hair, I saw what I’d done… Something I keep doing because I’m not used to the idiosyncrasies of Actionscript.

Instead of writing public var model : TriangleMesh3D; I’d written public var TriangleMesh3D : model. And so instead of a useful error or warning, the compiler gave me this shit.