Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clockworklabs/SpacetimeDB
/ DbVector2
Method
DbVector2
demo/Blackholio/server-csharp/DbVector2.cs:9–13 ·
view source on GitHub ↗
(float x, float y)
Source
from the content-addressed store, hash-verified
7
public float y;
8
9
public DbVector2(float x, float y)
10
{
11
this.x = x;
12
this.y = y;
13
}
14
15
public float SqrMagnitude => x * x + y * y;
16
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected