Add a formatting function for Vector3 (#4282)
* Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG
This commit is contained in:
committed by
Alexander Harkness
parent
73689024f0
commit
4727ed2084
@@ -55,9 +55,9 @@ void cSandSimulator::SimulateChunk(std::chrono::milliseconds a_Dt, int a_ChunkX,
|
||||
Pos.y = itr->y;
|
||||
Pos.z = itr->z + BaseZ;
|
||||
/*
|
||||
LOGD(
|
||||
"Creating a falling block at {%d, %d, %d} of type %s, block below: %s",
|
||||
Pos.x, Pos.y, Pos.z, ItemTypeToString(BlockType).c_str(), ItemTypeToString(BlockBelow).c_str()
|
||||
FLOGD(
|
||||
"Creating a falling block at {0} of type {1}, block below: {2}",
|
||||
Pos, ItemTypeToString(BlockType), ItemTypeToString(BlockBelow)
|
||||
);
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user