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
6 lines
139 B
C++
6 lines
139 B
C++
#include "Render/TextureQuad.h"
|
|
|
|
// OFFSET: 0x0055D310
|
|
float RhwToDepth(float rhw) {
|
|
return ((1.0f / rhw - 10.0f) * 1.0067114f) * rhw;
|
|
}
|