rodecomp/Source/Render/TextureQuad.cpp
ragnarok-clanker 471f0c1fe2 Decompile fn_02115 (CRendererDX7::SetCamera)
Batch #1430 by Yommy: 1 byte-identical, 0 confirmed by peer review.

- fn_02115 CRendererDX7::SetCamera: byte-identical

Merged automatically: every function is byte-identical to the original.
Adds to the build: Source/Render/RendererDX7.cpp, Source/Render/ScreenRectangle.cpp, Source/Render/ScreenGeometry.cpp, Source/Render/TextureQuad.cpp, Source/Render/UIRPDataDrawing.cpp
2026-10-28 12:45:51 +00:00

6 lines
139 B
C++

#include "Render/TextureQuad.h"
// OFFSET: 0x0055D310
float RhwToDepth(float rhw) {
return ((1.0f / rhw - 10.0f) * 1.0067114f) * rhw;
}