mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 17:01:03 +00:00
- clipper clean up.
The horizontal part of the logic should work now.
This commit is contained in:
parent
213ed28398
commit
f152a4d9b5
3 changed files with 232 additions and 141 deletions
|
@ -29,7 +29,7 @@ class Clipper
|
|||
public:
|
||||
bool IsRangeVisible(int startangle, int endangle);
|
||||
void AddClipRange(int startangle, int endangle);
|
||||
void AddWindowRange(int startangle, int endangle, float topclip, float bottomclip);
|
||||
void AddWindowRange(int startangle, int endangle, float topclip, float bottomclip, float viewz);
|
||||
void RemoveClipRange(int startangle, int endangle);
|
||||
|
||||
public:
|
||||
|
@ -67,7 +67,8 @@ private:
|
|||
}
|
||||
|
||||
void RemoveRange(ClipNode* cn);
|
||||
void InsertRange(ClipNode* prev, ClipNode* node);
|
||||
bool InsertRange(ClipNode* prev, ClipNode* node);
|
||||
void SplitRange(ClipNode* node, int start, int end, float topclip, float bottomclip);
|
||||
|
||||
public:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue