Skip to content

Commit

Permalink
Merge pull request #15 from AGulev/patch-1
Browse files Browse the repository at this point in the history
Add namespace for `dmVMath` in script_spine_model.cpp
  • Loading branch information
AGulev authored Jan 12, 2022
2 parents 117b98c + 7915a06 commit 7ff28a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defold-spine/src/script_spine_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ namespace dmSpine
dmhash_t ik_constraint_id = dmScript::CheckHashOrString(L, 2);
Vectormath::Aos::Vector3* position = dmScript::CheckVector3(L, 3);

if (!CompSpineModelSetIKTargetPosition(component, ik_constraint_id, 1.0f, (Point3)*position))
if (!CompSpineModelSetIKTargetPosition(component, ik_constraint_id, 1.0f, (dmVMath::Point3)*position))
{
return DM_LUA_ERROR("the IK constraint target '%s' could not be found", lua_tostring(L, 2));
}
Expand Down

0 comments on commit 7ff28a1

Please sign in to comment.