mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 06:41:41 +00:00
Fixed const correctness for secplane structure
https://forum.zdoom.org/viewtopic.php?t=59151
This commit is contained in:
parent
6d20da8ab5
commit
f629678320
2 changed files with 2 additions and 2 deletions
|
@ -394,7 +394,7 @@ public:
|
|||
}
|
||||
|
||||
// Moves a plane up/down by hdiff units
|
||||
double GetChangedHeight(double hdiff)
|
||||
double GetChangedHeight(double hdiff) const
|
||||
{
|
||||
return D - hdiff * normal.Z;
|
||||
}
|
||||
|
|
|
@ -184,7 +184,7 @@ struct SecPlane native play
|
|||
native bool isEqual(Secplane other) const;
|
||||
native void ChangeHeight(double hdiff);
|
||||
native double GetChangedHeight(double hdiff) const;
|
||||
native double HeightDiff(double oldd, double newd = 0.0);
|
||||
native double HeightDiff(double oldd, double newd = 0.0) const;
|
||||
native double PointToDist(Vector2 xy, double z) const;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue