signal ui is next!
This commit is contained in:
+4
-4
@@ -232,10 +232,10 @@ int main(){
|
||||
if(x < corner_tl.x && y < corner_tl.y) node_tl = n;
|
||||
if(x > corner_br.x && y > corner_br.y) node_br = n;
|
||||
|
||||
if(x < corner_tl.x) corner_tl.x = x;
|
||||
if(x > corner_br.x) corner_br.x = x;
|
||||
if(y < corner_tl.y) corner_tl.y = y;
|
||||
if(y > corner_br.y) corner_br.y = y;
|
||||
if(x <= corner_tl.x) corner_tl.x = x;
|
||||
if(x >= corner_br.x) corner_br.x = x;
|
||||
if(y <= corner_tl.y) corner_tl.y = y;
|
||||
if(y >= corner_br.y) corner_br.y = y;
|
||||
}
|
||||
corner_tl -= Vec2Df(offset, offset);
|
||||
corner_br += Vec2Df(offset, offset);
|
||||
|
||||
Reference in New Issue
Block a user