MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / Point2

Function Point2

openpgl/include/openpgl/cpp/Common.h:206–210  ·  view source on GitHub ↗

* @brief Wrapper function to simulate a C++ constructor * for a 2d position of type pgl_point2f. * * @param x * @param y * @return pgl_point2f */

Source from the content-addressed store, hash-verified

204 * @return pgl_point2f
205 */
206OPENPGL_INLINE pgl_vec2f Point2(float x, float y)
207{
208 pgl_point2f point2{x, y};
209 return point2;
210}
211
212/**
213 * @brief Wrapper function to simulate a C++ constructor

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected