Go to the source code of this file.
bool intersectFrustumAABB |
( |
const std::vector< glm::vec4 > & |
planes, |
|
|
const pcl::PointXYZ & |
boxMin, |
|
|
const pcl::PointXYZ & |
boxMax |
|
) |
| |
Tells whether or not b is intersecting f. http://www.txutxi.com/?p=584
- Parameters
-
f | Viewing frustum. |
b | An axis aligned bounding box. |
- Returns
- True if b intersects f, false otherwise.
Definition at line 326 of file scene.cpp.
const std::string kGraphFragmentShader |
Initial value:=
"precision mediump float;\n"
"precision mediump int;\n"
"varying vec3 v_color;\n"
"void main() {\n"
" gl_FragColor = vec4(v_color.z, v_color.y, v_color.x, 1.0);\n"
"}\n"
Definition at line 61 of file scene.cpp.
const std::string kGraphVertexShader |
Initial value:=
"precision mediump float;\n"
"precision mediump int;\n"
"attribute vec3 vertex;\n"
"uniform vec3 color;\n"
"uniform mat4 mvp;\n"
"varying vec3 v_color;\n"
"void main() {\n"
" gl_Position = mvp*vec4(vertex.x, vertex.y, vertex.z, 1.0);\n"
" v_color = color;\n"
"}\n"
Definition at line 50 of file scene.cpp.