MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / operator+

Method operator+

SampleFramework12/v1.00/SF12_Math.cpp:56–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56Float2 Float2::operator+(const Float2& other) const
57{
58 Float2 result;
59 result.x = x + other.x;
60 result.y = y + other.y;
61 return result;
62}
63
64Float2& Float2::operator-=(const Float2& other)
65{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected