aboutsummaryrefslogtreecommitdiff
path: root/src/common/vector_math.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-09-18 18:01:46 -0700
committerYuri Kunde Schlesner <yuriks@yuriks.net>2016-09-18 21:14:25 -0700
commit396a8d91a4423d9c793eeff0798d544613647511 (patch)
treee0203961233db1ffcbbca2e15154d71d142c5822 /src/common/vector_math.h
parent784b96d87f5b9ef4a238679d694b2d5a603725ca (diff)
Manually tweak source formatting and then re-run clang-format
Diffstat (limited to 'src/common/vector_math.h')
-rw-r--r--src/common/vector_math.h18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/common/vector_math.h b/src/common/vector_math.h
index b2d630829e..2d56f168cb 100644
--- a/src/common/vector_math.h
+++ b/src/common/vector_math.h
@@ -60,10 +60,8 @@ public:
}
Vec2() = default;
- Vec2(const T a[2]) : x(a[0]), y(a[1]) {
- }
- Vec2(const T& _x, const T& _y) : x(_x), y(_y) {
- }
+ Vec2(const T a[2]) : x(a[0]), y(a[1]) {}
+ Vec2(const T& _x, const T& _y) : x(_x), y(_y) {}
template <typename T2>
Vec2<T2> Cast() const {
@@ -201,10 +199,8 @@ public:
}
Vec3() = default;
- Vec3(const T a[3]) : x(a[0]), y(a[1]), z(a[2]) {
- }
- Vec3(const T& _x, const T& _y, const T& _z) : x(_x), y(_y), z(_z) {
- }
+ Vec3(const T a[3]) : x(a[0]), y(a[1]), z(a[2]) {}
+ Vec3(const T& _x, const T& _y, const T& _z) : x(_x), y(_y), z(_z) {}
template <typename T2>
Vec3<T2> Cast() const {
@@ -409,10 +405,8 @@ public:
}
Vec4() = default;
- Vec4(const T a[4]) : x(a[0]), y(a[1]), z(a[2]), w(a[3]) {
- }
- Vec4(const T& _x, const T& _y, const T& _z, const T& _w) : x(_x), y(_y), z(_z), w(_w) {
- }
+ Vec4(const T a[4]) : x(a[0]), y(a[1]), z(a[2]), w(a[3]) {}
+ Vec4(const T& _x, const T& _y, const T& _z, const T& _w) : x(_x), y(_y), z(_z), w(_w) {}
template <typename T2>
Vec4<T2> Cast() const {