Library of Assembled Shared Sources
|
MinMaxPolicy that makes it your responsibility to behave well. More...
#include <min_max_policy.h>
MinMaxPolicy that makes it your responsibility to behave well.
The unchecked policy is the fastest policy of the pool. It will silently expects you to provide correct min/max values and ignores all invalid states caused by you. That way it can avoid all checks and it will be faster than the other to in speed ciritical situations.
If you're using this policy, it's your responsibility to give the AABB correct values so it stays valid. If you don't, you'll get what we call undefined behaviour. Have fun :)
The rest of the class are implementation details for the AABB and should not be called by the client (you :). In short we can say of this policy: if you try to do something stupid, you get undefined behaviour.
Definition at line 271 of file min_max_policy.h.