Uniformalized matrix transform function

This commit is contained in:
Christophe Riccio
2011-01-21 00:37:42 +00:00
parent 5811efecad
commit afdbba7d82
4 changed files with 40 additions and 1 deletions

View File

@@ -109,6 +109,14 @@ namespace glm
valType scale,
valType bias);
//! Build a look at view matrix.
//! From GLM_GTX_transform2 extension.
template <typename T>
detail::tmat4x4<T> lookAt(
detail::tvec3<T> const & eye,
detail::tvec3<T> const & center,
detail::tvec3<T> const & up);
}//namespace transform2
}//namespace gtx
}//namespace glm