MCPcopy Create free account
hub / github.com/doldecomp/mkdd / setMax

Method setMax

include/JSystem/JGeometry/Vec.h:91–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 }
90
91 void setMax(const TVec2<f32> &max)
92 {
93 if (x <= max.x)
94 x = max.x;
95 if (y <= max.y)
96 y = max.y;
97 }
98
99 void add(const TVec2<T> &other)
100 {

Callers 2

intersectMethod · 0.45
absoluteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected