MCPcopy Create free account
hub / github.com/defold/defold / JsonSafeFloat

Function JsonSafeFloat

engine/engine/src/engine_service.cpp:732–735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

730 }
731
732 static float JsonSafeFloat(float f)
733 {
734 return isfinite(f) ? f : FLT_MAX;
735 }
736
737 static void OutputJsonProperty(dmGameObject::SceneNodeProperty* property, dmWebServer::Request* request, int indent)
738 {

Callers 1

OutputJsonPropertyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected