MCPcopy Create free account
hub / github.com/RenderKit/embree / noise3D

Function noise3D

tutorials/common/tutorial/noise.cpp:159–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 }
158
159 Vec3fa noise3D(const Vec3fa& p)
160 {
161 float x = noise(p.x+128.0f);
162 float y = noise(p.y+64.0f);
163 float z = noise(p.z+192.0f);
164 return Vec3fa(x,y,z);
165 }
166}

Callers

nothing calls this directly

Calls 2

noiseFunction · 0.85
Vec3faClass · 0.50

Tested by

no test coverage detected