ImVec4: 4D vector used to store clipping rectangles, colors etc. [Compile-time configurable type]
| 270 | |
| 271 | // ImVec4: 4D vector used to store clipping rectangles, colors etc. [Compile-time configurable type] |
| 272 | struct ImVec4 |
| 273 | { |
| 274 | float x, y, z, w; |
| 275 | constexpr ImVec4() : x(0.0f), y(0.0f), z(0.0f), w(0.0f) { } |
| 276 | constexpr ImVec4(float _x, float _y, float _z, float _w) : x(_x), y(_y), z(_z), w(_w) { } |
| 277 | #ifdef IM_VEC4_CLASS_EXTRA |
| 278 | IM_VEC4_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec4. |
| 279 | #endif |
| 280 | }; |
| 281 | IM_MSVC_RUNTIME_CHECKS_RESTORE |
| 282 | |
| 283 | //----------------------------------------------------------------------------- |
no outgoing calls
no test coverage detected