| 2255 | } |
| 2256 | |
| 2257 | void RiggedObject::SetMTTargetWeight(const std::string& target_name, float weight, float weight_weight) { |
| 2258 | for (auto& morph_target : morph_targets) { |
| 2259 | if (morph_target.name == target_name) { |
| 2260 | morph_target.SetScriptWeight(weight, weight_weight); |
| 2261 | return; |
| 2262 | } |
| 2263 | } |
| 2264 | } |
| 2265 | |
| 2266 | vec3 RiggedObject::FetchCenterOffset() { |
| 2267 | vec3 offset = total_center_offset; |
no test coverage detected