MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / getHeight

Method getHeight

library/rect.h:38–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 T getWidth() const { return (this->p1.x - this->p0.x); }
37
38 T getHeight() const { return (this->p1.y - this->p0.y); }
39
40 bool operator==(const Rect<T> &other) const { return p0 == other.p0 && p1 == other.p1; }
41 bool operator!=(const Rect<T> &other) const { return !(*this == other); }

Callers 1

onRenderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected