projects
/
opengl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PBR checkpoint
[opengl.git]
/
shapes.hpp
diff --git
a/shapes.hpp
b/shapes.hpp
index 69520aabdff32ce536db654250a233e0bd39e202..5fcefdb1f648607b6a20c1cc91930da889292324 100644
(file)
--- a/
shapes.hpp
+++ b/
shapes.hpp
@@
-15,11
+15,6
@@
constexpr array<glm::vec3, 6> quadToTriangles(const array<glm::vec3, 4> quads) {
};
}
-constexpr const glm::vec3 foo() {
- constexpr glm::vec3 foo(1,2,3);
- return foo;
-}
-
constexpr array<glm::vec3, 36> cube() {
int i = 0;
array<glm::vec3, 36> vertices;