This commit is contained in:
luboslenco
2025-09-01 19:17:28 +02:00
parent b879c6895c
commit cf2daabc21
9 changed files with 28 additions and 63 deletions
-4
View File
@@ -26,10 +26,6 @@ function mesh_object_create(data: mesh_data_t, materials: material_data_t[]): me
function mesh_object_set_data(raw: mesh_object_t, data: mesh_data_t) {
raw.data = data;
if (data._.vertex_buffer == null) {
mesh_data_build(data);
}
// Scale-up packed (-1,1) mesh coords
raw.base.transform.scale_world = data.scale_pos;
}