mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 18:21:06 +00:00
- use PlanesAtPointf in most places where PlanesAtPoint was used.
This commit is contained in:
parent
02d508baef
commit
bd95da423a
5 changed files with 15 additions and 15 deletions
|
@ -162,8 +162,8 @@ void vertex_t::RecalcVertexHeights()
|
|||
{
|
||||
float heights[2];
|
||||
|
||||
auto point = wall[masterwall].wall_int_pos();
|
||||
PlanesAtPoint(§or[sect], point.X, point.Y, &heights[0], &heights[1]);
|
||||
auto point = wall[masterwall].pos;
|
||||
PlanesAtPointf(§or[sect], point.X, point.Y, &heights[0], &heights[1]);
|
||||
for(auto height : heights)
|
||||
{
|
||||
int k;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue