aboutsummaryrefslogtreecommitdiff
path: root/src/vector.hpp
blob: 6d15f34f26d954bec6a446ac3444d99889736e30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef VECTOR_H
#define VECTOR_H

class Vec3d {
    Vec3d();
    Vec3d(double x, double y, double z);

    void set(double x, double y, double z);
    void normalize();

    double length();

    Vec3d cross(const Vec3d &vec);

    // Operators
};

#endif