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

Function Vector3

openpgl/include/openpgl/cpp/Common.h:163–167  ·  view source on GitHub ↗

for a 3d vector of type pgl_vec3f. * * @param x * @param y * @param z * @return pgl_vec3f */

Source from the content-addressed store, hash-verified

161 * @return pgl_vec3f
162 */
163OPENPGL_INLINE pgl_vec3f Vector3(float x, float y, float z)
164{
165 pgl_vec3f vec3{x, y, z};
166 return vec3;
167}
168
169/**
170 * @brief Wrapper function to simulate a C++ constructor

Callers 15

sphericalDirectionFunction · 0.85
squareToUniformSphereFunction · 0.85
updateMethod · 0.85
sampleFunction · 0.85
clearMethod · 0.85
CalculateMergeCostMethod · 0.85
sampleFunction · 0.85
toStringMethod · 0.85
incomingRadianceMethod · 0.85
irradianceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected