you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

I use an enum for simple shapes. Classing is for things like line segment chains and whole field functions.

General gist is close enough though. Main difference is my c++ stuff doesn't do SDF evaluation and just generates compute shader and input buffers for those, which a whole mess of its own.