| Line |
Branch |
Decision |
Call |
Exec |
Source |
| 1 |
|
|
|
|
#include "MainOpenGLProgram.h" |
| 2 |
|
|
|
|
|
| 3 |
|
|
|
|
#include "main_shaders.h" |
| 4 |
|
|
|
|
|
| 5 |
|
|
|
|
using namespace Chrysalis; |
| 6 |
|
|
|
|
|
| 7 |
|
|
0/1
✗ Call 0 not invoked.
|
✗ |
MainOpenGLProgram::MainOpenGLProgram() |
| 8 |
|
|
0/3
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
|
✗ |
: BaseOpenGLProgram(mainVertexShader, mainFragmentShader) {} |
| 9 |
|
|
|
|
|
| 10 |
|
|
|
✗ |
void MainOpenGLProgram::setPointRadius(const float radius) const { |
| 11 |
|
|
0/4
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
|
✗ |
setUniformValue("uPointRadius", radius); |
| 12 |
|
|
|
✗ |
} |
| 13 |
|
|
|
|
|
| 14 |
|
|
|
✗ |
void MainOpenGLProgram::setProjection(const glm::mat4x4& projection) const { |
| 15 |
|
|
0/4
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
|
✗ |
setUniformValue("uProjection", projection); |
| 16 |
|
|
|
✗ |
} |
| 17 |
|
|
|
|
|
| 18 |
|
|
|
✗ |
void MainOpenGLProgram::setColor(const float r, const float g, const float b, const float a) const { |
| 19 |
|
|
0/4
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
|
✗ |
setUniformValue("uColor", r, g, b, a); |
| 20 |
|
|
|
✗ |
} |
| 21 |
|
|
|
|
|