summaryrefslogtreecommitdiffstats
path: root/src/libnr/nr-rotate-fns.h
blob: bd075114c8890a063bb2220d41ae60bdd1a4569d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef SEEN_NR_ROTATE_FNS_H
#define SEEN_NR_ROTATE_FNS_H

/** \file
 * Declarations for rotation functions.
 */

#include <libnr/nr-rotate.h>
#include <libnr/nr-point-fns.h>

inline bool rotate_equalp(NR::rotate const &a, NR::rotate const &b, double const eps)
{
    return point_equalp(a.vec, b.vec, eps);
}

NR::rotate rotate_degrees(double degrees);

#endif /* !SEEN_NR_ROTATE_FNS_H */

/*
  Local Variables:
  mode:c++
  c-file-style:"stroustrup"
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
  indent-tabs-mode:nil
  fill-column:99
  End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :