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

Method setMin

include/JSystem/JGeometry/Vec.h:83–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 void setMin(const TVec2<f32> &min)
84 {
85 if (x >= min.x)
86 x = min.x;
87 if (y >= min.y)
88 y = min.y;
89 }
90
91 void setMax(const TVec2<f32> &max)
92 {

Callers 2

intersectMethod · 0.80
absoluteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected