Implement playable Mac client and rendering validation

This commit is contained in:
shen
2026-09-11 14:58:22 +08:00
parent 1ab68bd06e
commit 374d4165d8
233 changed files with 6546 additions and 284 deletions
+2 -2
View File
@@ -115,10 +115,10 @@ func parse_bytes(data: PackedByteArray) -> Dictionary:
positions.resize(vertex_count)
for i in vertex_count:
var base := offset + i * 12
positions[i] = Vector3(
positions[i] = preload("res://fx/effect_space.gd").position(Vector3(
float(data.decode_float(base)),
float(data.decode_float(base + 4)),
float(data.decode_float(base + 8))) * 0.01
float(data.decode_float(base + 8))))
offset += vertex_count * 12
var indices := PackedInt32Array()