Further cleanup and added comments.
This commit is contained in:
@@ -209,11 +209,20 @@ TEST_CASE_METHOD(
|
||||
// Get runtime graph inputs and outputs
|
||||
float graph_float_input = 0.f;
|
||||
blend_tree.SetInput("GraphFloatInput", &graph_float_input);
|
||||
CHECK(blend_tree.GetGraphInputs().size() == 1);
|
||||
CHECK(
|
||||
*blend_tree.GetGraphInputs()[0].m_reference.ptr_ptr
|
||||
== &graph_float_input);
|
||||
|
||||
AnimData graph_anim_output;
|
||||
graph_anim_output.m_local_matrices.resize(skeleton->num_joints());
|
||||
blend_tree.SetOutput("Output", &graph_anim_output);
|
||||
|
||||
CHECK(blend_tree.GetGraphOutputs().size() == 1);
|
||||
CHECK(
|
||||
*blend_tree.GetGraphOutputs()[0].m_reference.ptr_ptr
|
||||
== &graph_anim_output);
|
||||
|
||||
WHEN("Blend Weight == 0.") {
|
||||
// Evaluate graph
|
||||
graph_float_input = 0.f;
|
||||
|
||||
Reference in New Issue
Block a user