lullaby/contrib/deform/deform_system.cc
// Returns the standard transformation matrix given the SQT and a nullable
// world_from_parent_mat
Returns the standard transformation matrix given the SQT and a nullable
world_from_parent_mat
Returns the standard transformation matrix given the SQT and a nullable world_from_parent_mat
mathfu::mat4 CalculateTransformMatrixFromParent(
    const Sqt& sqt, const mathfu::mat4* world_from_parent_mat) {
  const auto parent_from_local_mat = CalculateTransformMatrix(sqt);
  return world_from_parent_mat
             ? (*world_from_parent_mat) * parent_from_local_mat
             : parent_from_local_mat;
}
mathfu :: mat4 CalculateTransformMatrixFromParent ( const Sqt & sqt , const mathfu :: mat4 * world_from_parent_mat ) { const auto parent_from_local_mat = CalculateTransformMatrix ( sqt ) ; return world_from_parent_mat ? ( * world_from_parent_mat ) * parent_from_local_mat : parent_from_local_mat ; }
Returns the standard transformation matrix given the SQT and a nullable
world_from_parent_mat
Returns the standard transformation matrix given the SQT and a nullable world_from_parent_mat