Searched defs:optional_point_t (Results 1 – 2 of 2) sorted by relevance
17 struct optional_point_t struct19 optional_point_t () {} in optional_point_t() argument20 optional_point_t (float x_, float y_) : has_data (true), x (x_), y (y_) {} in optional_point_t() function21 operator bool () const { return has_data; } in operator bool()23 bool has_data = false;24 float x;25 float y;27 optional_point_t mid (optional_point_t p) in mid()
1134 struct optional_point_t struct1136 optional_point_t () { has_data = false; } in optional_point_t() function1137 optional_point_t (float x_, float y_) { x = x_; y = y_; has_data = true; } in optional_point_t() function1139 bool has_data;1140 float x;1141 float y;1143 optional_point_t lerp (optional_point_t p, float t) in lerp()