MCPcopy Create free account
hub / github.com/ElectroZybr/LatticeLab / VectorField

Method VectorField

Lattice/Engine/physics/VectorField.cpp:11–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9#include <iostream>
10
11VectorField::VectorField(glm::ivec3 size, int sliceZ)
12 : size(0), domain(1), sliceZ(0) {
13 resize(size, sliceZ);
14}
15
16void VectorField::resize(glm::ivec3 newDomainSize, int newSliceZ, float newScale) {
17 domain = glm::max(newDomainSize, glm::ivec3(1));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected