Annotate vector::normalised with mustuse
This commit is contained in:
parent
1e269c4ed3
commit
d9a3abf4cd
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#include "json.hpp"
|
#include "json.hpp"
|
||||||
#include "detail/coord.hpp"
|
#include "detail/coord.hpp"
|
||||||
|
#include "annotations.hpp"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
@ -70,8 +71,7 @@ namespace util {
|
|||||||
double dot (const util::vector<S>&) const;
|
double dot (const util::vector<S>&) const;
|
||||||
|
|
||||||
util::vector<S>& normalise (void);
|
util::vector<S>& normalise (void);
|
||||||
util::vector<S> normalised (void) const;
|
util::vector<S> normalised (void) const mustuse;
|
||||||
|
|
||||||
|
|
||||||
bool is_zero (void) const;
|
bool is_zero (void) const;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user