| 230 | } |
| 231 | |
| 232 | void ComTransform::SetOrigin(const Vec3 &origin) { |
| 233 | const ComTransform *parent = GetParent(); |
| 234 | SetLocalOrigin(parent ? parent->GetMatrix().Inverse() * origin : origin); |
| 235 | } |
| 236 | |
| 237 | void ComTransform::SetScale(const Vec3 &scale) { |
| 238 | const ComTransform *parent = GetParent(); |
no test coverage detected