MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / operator/

Function operator/

demo/Blackholio/server-cpp/spacetimedb/src/lib.cpp:82–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82inline DbVector2 operator/(const DbVector2& v, float scalar) {
83 if (scalar == 0.0f) {
84 return DbVector2(0.0f, 0.0f);
85 }
86 return DbVector2(v.x / scalar, v.y / scalar);
87}
88
89struct Config {
90 int32_t id;

Callers

nothing calls this directly

Calls 1

DbVector2Class · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…