| 42 | } |
| 43 | |
| 44 | void MorphController::SetWeights(size_t key, std::vector<float> const& weights) |
| 45 | { |
| 46 | LogAssert(key < mNumTimes && weights.size() >= mNumTargets, |
| 47 | "Invalid key or input weights array is too small."); |
| 48 | std::copy(weights.begin(), weights.end(), mWeights.begin() + key * mNumTargets); |
| 49 | } |
| 50 | |
| 51 | void MorphController::GetVertices(size_t target, std::vector<Vector3<float>>& vertices) |
| 52 | { |
no test coverage detected