Home
last modified time | relevance | path

Searched defs:RectT (Results 1 – 1 of 1) sorted by relevance

/external/swiftshader/src/Renderer/
DSurface.hpp26 template <typename T> struct RectT struct
28 RectT() {} in RectT() function
29 RectT(T x0i, T y0i, T x1i, T y1i) : x0(x0i), y0(y0i), x1(x1i), y1(y1i) {} in RectT() function
31 void clip(T minX, T minY, T maxX, T maxY) in clip()
39 T width() const { return x1 - x0; } in width()
40 T height() const { return y1 - y0; } in height()
42 T x0; // Inclusive
43 T y0; // Inclusive
44 T x1; // Exclusive
45 T y1; // Exclusive