| Line | Branch | Decision | Call | Exec | Source |
|---|---|---|---|---|---|
| 1 | #include "Vertex3f.h" | ||||
| 2 | |||||
| 3 | using namespace Chrysalis; | ||||
| 4 | |||||
| 5 | ✗ | Vertex3f::Vertex3f(const Point& point): Vertex3f(point, 0) {} | |||
| 6 | |||||
| 7 | ✗ | Vertex3f::Vertex3f(const Point& point, const float attribute): Vertex2f(point), attribute_(attribute) {} | |||
| 8 | |||||
| 9 | ✗ | Vertex3f::Vertex3f(const float x, const float y): Vertex3f(x, y, 0) {} | |||
| 10 | |||||
| 11 | ✗ | Vertex3f::Vertex3f(const float x, const float y, const float attribute): Vertex2f(x, y), attribute_(attribute) {} | |||
| 12 | |||||
| 13 | ✗ | void Vertex3f::attribute(const float value) { | |||
| 14 | ✗ | attribute_ = value; | |||
| 15 | ✗ | } | |||
| 16 | |||||
| 17 | ✗ | const float& Vertex3f::attribute() const { | |||
| 18 | ✗ | return attribute_; | |||
| 19 | } | ||||
| 20 | |||||
| 21 | ✗ | std::vector<std::pair<int, void*>> Vertex3f::layout() { | |||
| 22 | ✗ | return {{2, nullptr}, {1, reinterpret_cast<void*>(2 * sizeof(float))}}; | |||
| 23 | } | ||||
| 24 |