1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #ifndef IGL_OPENGL2_PROJECT_H
- #define IGL_OPENGL2_PROJECT_H
- #include "../igl_inline.h"
- #include <Eigen/Dense>
- namespace igl
- {
- namespace opengl2
- {
-
-
-
-
-
-
-
- IGL_INLINE int project(
- const double objX,
- const double objY,
- const double objZ,
- double* winX,
- double* winY,
- double* winZ);
-
- template <typename Derivedobj, typename Derivedwin>
- IGL_INLINE int project(
- const Eigen::PlainObjectBase<Derivedobj> & obj,
- Eigen::PlainObjectBase<Derivedwin> & win);
-
- template <typename Derivedobj>
- IGL_INLINE Derivedobj project(
- const Eigen::PlainObjectBase<Derivedobj> & obj);
- }
- }
- #ifndef IGL_STATIC_LIBRARY
- # include "project.cpp"
- #endif
- #endif
|