MCPcopy Create free account
hub / github.com/crownengine/crown / lua_save_data_write_vector3

Function lua_save_data_write_vector3

src/lua/lua_api.cpp:604–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602}
603
604static void lua_save_data_write_vector3(StringStream &sjson, const char *type, const Vector3 &v)
605{
606 sjson << "{ type = \"" << type << "\" data = [ ";
607 sjson << v.x << " " << v.y << " " << v.z;
608 sjson << " ] }";
609}
610
611static void lua_save_data_write_matrix4x4(StringStream &sjson, const char *type, const Matrix4x4 &m)
612{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected