MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / SetVertices

Method SetVertices

GTE/Graphics/MorphController.cpp:31–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void MorphController::SetVertices(size_t target, std::vector<Vector3<float>> const& vertices)
32{
33 LogAssert(target < mNumTargets && vertices.size() >= mNumVertices,
34 "Invalid target or input vertices array is too small.");
35 std::copy(vertices.begin(), vertices.end(), mVertices.begin() + target * mNumVertices);
36}
37
38void MorphController::SetTimes(std::vector<float> const& times)
39{

Callers 1

CreateSceneMethod · 0.80

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected