more object notes

This commit is contained in:
Martin Michelsen
2025-11-02 22:36:41 -08:00
parent 5579bce5d9
commit 69b7e7f998
2 changed files with 44 additions and 28 deletions
+6 -6
View File
@@ -1694,15 +1694,15 @@ ChatCommandDefinition cc_makeobj(
unordered_map<string, uint32_t> label_writes{
{"base_type_high", base_type_high},
{"floor_low", a.c->floor},
{"pos_x", std::bit_cast<float>(pos.x)},
{"pos_y", std::bit_cast<float>(pos.y)},
{"pos_z", std::bit_cast<float>(pos.z)},
{"pos_x", std::bit_cast<uint32_t>(pos.x.load())},
{"pos_y", std::bit_cast<uint32_t>(pos.y.load())},
{"pos_z", std::bit_cast<uint32_t>(pos.z.load())},
{"angle_x", angle.x},
{"angle_y", angle.y},
{"angle_z", angle.z},
{"param1", std::bit_cast<float>(param123.x)},
{"param2", std::bit_cast<float>(param123.y)},
{"param3", std::bit_cast<float>(param123.z)},
{"param1", std::bit_cast<uint32_t>(param123.x.load())},
{"param2", std::bit_cast<uint32_t>(param123.y.load())},
{"param3", std::bit_cast<uint32_t>(param123.z.load())},
{"param4", param456.x},
{"param5", param456.y},
{"param6", param456.z},