Skip to content
Snippets Groups Projects
Commit 688efcbc authored by Zain Selman's avatar Zain Selman :speech_balloon:
Browse files

fixes comp::zero errors

parent 36314b73
No related branches found
No related tags found
1 merge request!108fixes comp::zero errors
#pragma once
#include <typed-geometry/types/comp.hh>
#include <typed-geometry/types/dir.hh>
#include <typed-geometry/types/mat.hh>
#include <typed-geometry/types/pos.hh>
......@@ -300,6 +301,15 @@ const size<4, ScalarT> size<4, ScalarT>::ones = {ScalarT(1), ScalarT(1), ScalarT
template <class ScalarT>
const size<4, ScalarT> size<4, ScalarT>::unit = {ScalarT(1), ScalarT(1), ScalarT(1), ScalarT(1)};
template <class ScalarT>
const comp<1, ScalarT> comp<1, ScalarT>::zero = {ScalarT(0)};
template <class ScalarT>
const comp<2, ScalarT> comp<2, ScalarT>::zero = {ScalarT(0), ScalarT(0)};
template <class ScalarT>
const comp<3, ScalarT> comp<3, ScalarT>::zero = {ScalarT(0), ScalarT(0), ScalarT(0)};
template <class ScalarT>
const comp<4, ScalarT> comp<4, ScalarT>::zero = {ScalarT(0), ScalarT(0), ScalarT(0), ScalarT(0)};
template <int C, int R, class ScalarT>
const mat<C, R, ScalarT> mat<C, R, ScalarT>::zero = {};
template <int C, int R, class ScalarT>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment