summaryrefslogtreecommitdiff
path: root/src/3d/renderer_draw.cc
AgeCommit message (Collapse)Author
13 hoursfix: Make PlaneData struct visible to renderer_draw.ccskal
13 hoursfeat: Integrate plane_distance into renderer and scene loaderskal
This commit integrates the plane_distance functionality by: - Adding shared_user_data to Object3D for storing type-specific data. - Modifying SceneLoader to read and store plane_distance in shared_user_data for PLANE objects. - Updating ObjectData struct in renderer.h to use params.x for object type and params.y for plane_distance. - Modifying Renderer3D::update_uniforms to populate ObjectData::params.y with plane_distance for PLANE objects. - Adjusting blender_export.py to correctly export plane_distance and reorder quaternion components. A manual step is required to update WGSL shaders to utilize ObjectData.params.y for plane distance calculations.
18 hoursrefactor(3d): Split Renderer3D into modular files and fix compilation.skal