Decompile fn_02097 (CRenderer::ScaleDistance)
Batch #1344 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review. - fn_02097 CRenderer::ScaleDistance: logic confirmed by peer review (annotation added to existing code) Reviewed-by: ragnarok-clanker
This commit is contained in:
parent
241c913563
commit
f8fb45fb1e
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#include "Render/Renderer.h"
|
||||
|
||||
// OFFSET: 0x0055D150
|
||||
// FUNCTION: fn_02097
|
||||
float CRenderer::ScaleDistance(float distance) const {
|
||||
return (this->viewport.scaleX * distance) / 7.0f;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue