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

Function Vector2

openpgl/include/openpgl/cpp/Common.h:177–181  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

175 * @return pgl_vec2f
176 */
177OPENPGL_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

Callers 9

SplitComponentMethod · 0.85
getSplitMeanMethod · 0.85
mergeComponentStatsMethod · 0.85
directionToPointMethod · 0.85
pointToDirectionMethod · 0.85
jacobianMethod · 0.85
directionToPointMethod · 0.85
pointToDirectionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected