* @brief Wrapper function to simulate a C++ constructor * for a 2d vector of type pgl_vec2f. * * @param x * @param y * @return pgl_vec2f */
| 175 | * @return pgl_vec2f |
| 176 | */ |
| 177 | OPENPGL_INLINE pgl_vec2f Vector2(float x, float y) |
| 178 | { |
| 179 | pgl_vec2f vec2{x, y}; |
| 180 | return vec2; |
| 181 | } |
| 182 | |
| 183 | /** |
| 184 | * @brief Wrapper function to simulate a C++ constructor |
no outgoing calls
no test coverage detected