Skip to content
Snippets Groups Projects
Commit da064905 authored by Pascal Engeler's avatar Pascal Engeler
Browse files

updated exception guarantees

parent 1afc73b2
No related branches found
No related tags found
No related merge requests found
......@@ -104,11 +104,13 @@ where it improves legibility. Consult the source files for more information.
- Modifiers
- `Vec2 normalize()`
- normalizes the vector and returns it
- throws when zero-vector
- `Vec2 rotate(Vec2, value_t)`
- rotates the vector and returns it
- Supported Operators, All of these work as one would expect
- `*` with `Vec2` (inner product) and `value_t`
- `/` with `value_t`, throws upon division by zero
- `/` with `value_t`
- throws upon division by zero
- `+, -` with `Vec2`
- All versions of `op=` of the above
- `[]` with `std::size_t`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment