Searched refs:vec2i (Results 1 – 2 of 2) sorted by relevance
67 static inline vec2i Round(const vec2& v) { in Round()68 return vec2i(roundf(v.x()), roundf(v.y())); in Round()71 static inline vec2i Scale(const vec2i& v, float scale) { in Scale()72 return vec2i(roundf(static_cast<float>(v.x()) * scale), in Scale()
23 using vec2i = Eigen::Vector2i; variable