Skip to content
This repository has been archived by the owner on Sep 7, 2019. It is now read-only.

Axis Alligned Bounding Box varargs constructor makes incomprehensible error when there are an improper number of args #7

Open
KadinTucker opened this issue Sep 16, 2018 · 0 comments

Comments

@KadinTucker
Copy link
Collaborator

When submitting an invalid number of arguments to AABB with the varargs constructor, a range violation is thrown. This is normal behavior, but it would be best for the user if they were told that their construction was invalid. I think this should best be done compile time, with static if.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant