usermattcancel
branchsbox/hammer-mesh-apicancel

3 Commits over 0 Days - ∞cph!

3 Years Ago
Add Sphere primitive to C# block tool
3 Years Ago
Namespace Hammer/MapDoc under Tools.MapEditor Add a simple MapMesh API for creating simple n-gon polygons programatically in tools addon layer Move Hammer Block tool to C# addon layer, developers can implement any geometry shapes using the simple polygon mesh API and full hotloading. Ported the following shapes to C# so far: Quad, Block, Cylinder Cleanup naming of everything, create the tool interface in a more sane way, port over more primitives. * GeometryTool -> BlockTool, keep the naming consistent with Hammer, it is a blocking out tool after all * Geometry -> PrimitiveBuilder * SimplyPolygonMeshDescription -> PolygonMesh - way less insane and future proofs us to binding it with CHammerPolyMesh, different ways to use it can be done on the class * Port Spike and Hole primitives, Linq makes them super easy to do * Hotloading triggers an update on the block tool, so when creating PrimitiveBuilders you see the changes straight away * Glue "Orient to the 2D view plane direction" checkbox to set the option in native
3 Years Ago
Namespace Hammer/MapDoc under Tools.MapEditor Add a simple MapMesh API for creating simple n-gon polygons programatically in tools addon layer Move Hammer Block tool to C# addon layer, developers can implement any geometry shapes using the simple polygon mesh API and full hotloading. Ported the following shapes to C# so far: Quad, Block, Cylinder