Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzzzrm committed Apr 28, 2014
1 parent 05a4327 commit e29467e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Empty file.
20 changes: 20 additions & 0 deletions src/utils/glmext/safenormalize.inl
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#pragma once


template<typename T>
class SafeNormalize {
public:
SafeNormalize(const T& vec);

bool valid() const;

const T& get();


protected:
bool m_valid;
T m_vec;
};


#include "safenormalize.inl"

0 comments on commit e29467e

Please sign in to comment.