| 9 | #include <iostream> |
| 10 | |
| 11 | VectorField::VectorField(glm::ivec3 size, int sliceZ) |
| 12 | : size(0), domain(1), sliceZ(0) { |
| 13 | resize(size, sliceZ); |
| 14 | } |
| 15 | |
| 16 | void VectorField::resize(glm::ivec3 newDomainSize, int newSliceZ, float newScale) { |
| 17 | domain = glm::max(newDomainSize, glm::ivec3(1)); |
nothing calls this directly
no outgoing calls
no test coverage detected