mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Use std::min and std::max
This commit is contained in:
@ -315,7 +315,7 @@ int SpotLight::Update(TimeValue t, const RendContext &rc, RenderGlobalContext *r
|
||||
decayRadius = gl->GetDecayRadius(t);
|
||||
|
||||
projector = gl->GetProjector();
|
||||
fov = hsMaximum(fs,hs);
|
||||
fov = std::max(fs, hs);
|
||||
|
||||
float aspect = 1.0f;
|
||||
|
||||
|
Reference in New Issue
Block a user