#Syntax for checking if a location is in the vertical region between two coordinates
1 messages · Page 1 of 1 (latest)
I assume the built in is within simply checks both the x, y, and z?
Yes, this is what I'm trying to move away from
why tho?
.
I'm using SkBee
I've timed it and checking if a point is in a world guard vertical-expanded region is much faster
Which surprised me
i think you have 2 choices:
- manually check
- change the y coordinates of those locations so that it will always be within the y
i'm surprised you found any difference at all
Well it took looping it a few hundred times 😛
your 'time complexity' (which this technically doesn't fall under, asymptotically) will hardly care too much
But in my scenario it'll be run ~once a second so I'm trying to scrape off any unnecessary processing
Aight, if I ever bottleneck in the future I'll come back and implement the function 🙂