Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Richard Torenvliet
eos
Commits
2a23651b
Commit
2a23651b
authored
Dec 17, 2016
by
Patrik Huber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reordered includes, added <iostream>
parent
fa6bcde7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
python/pybind11_glm.hpp
python/pybind11_glm.hpp
+4
-3
No files found.
python/pybind11_glm.hpp
View file @
2a23651b
...
...
@@ -9,17 +9,18 @@
*/
#pragma once
#include
<cstddef>
#include
"glm/gtc/type_ptr.hpp" // includes all vector and matrix types too
#include "pybind11/numpy.h"
#include "glm/gtc/type_ptr.hpp" // includes all vector and matrix types too
#include <cstddef>
#include <iostream> // would probably be better to use exceptions - but I think they were not showing in Python
NAMESPACE_BEGIN
(
pybind11
)
NAMESPACE_BEGIN
(
detail
)
/**
* @file
utils
/pybind11_glm.hpp
* @file
python
/pybind11_glm.hpp
* @brief Transparent conversion to and from Python for glm vector and matrix types.
*
* All converters for matrices assume col-major storage of glm, the default.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment