mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
Fix some typos
This commit is contained in:
parent
892350ac2e
commit
812cc61b16
1 changed files with 2 additions and 2 deletions
|
@ -88,8 +88,8 @@ namespace swrenderer
|
|||
|
||||
// The vis value to pass into the GETPALOOKUP or LIGHTSCALE macros
|
||||
double WallVis(double screenZ) const { return WallGlobVis() / screenZ; }
|
||||
double SpriteVis(double screenZ) const { return WallGlobVis() / screenZ; }
|
||||
double ParticleVis(double screenZ) const { return WallGlobVis() / screenZ; }
|
||||
double SpriteVis(double screenZ) const { return SpriteGlobVis() / screenZ; }
|
||||
double ParticleVis(double screenZ) const { return ParticleGlobVis() / screenZ; }
|
||||
double FlatPlaneVis(int screenY, double planeZ) const { return FlatPlaneGlobVis() / fabs(planeZ - ViewPos.Z) * fabs(RenderViewport::Instance()->CenterY - screenY); }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in a new issue