Open RobLoach opened 5 years ago
Switch to full blown classes instead of object structs.
struct vec3 { float x{}; float y{}; float z{}; };
dukglue_register_property(ctx, &vec3::x, "x");
Switch to full blown classes instead of object structs.