MCPcopy Create free account
hub / github.com/WheretIB/nullc / float2

Function float2

tests/TestConversions.cpp:6–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4"class float2\r\n\
5{\r\n\
6float x, y;\r\n\
7}\r\n\
8float2 float2(float x, y){ float2 ret; ret.x = x; ret.y = y; return ret; }\r\n\
9\r\n\
10float2 operator+(float2 ref a, float2 ref b){ return float2(a.x+b.x, a.y+b.y); }\r\n\
11float2 ref operator+=(float2 ref a, float2 ref b){ a.x += b.x; a.y += b.y; return a; }\r\n\

Callers 3

TestVariables.cppFile · 0.70
operator+Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected