Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIAGameWorks/PhysX
/ setFog
Method
setFog
physx/samples/sampleframework/renderer/src/Renderer.cpp:421–425 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
419
}
420
421
void Renderer::setFog(const RendererColor &fogColor, float fogDistance)
422
{
423
m_fogColor = fogColor;
424
m_fogDistance = fogDistance;
425
}
426
427
void Renderer::setClearColor(const RendererColor &clearColor)
428
{
Callers
3
onInit
Method · 0.80
onInit
Method · 0.80
onInit
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected