| 149 | } |
| 150 | |
| 151 | void Decal::OnTransformChanged() |
| 152 | { |
| 153 | // Base |
| 154 | Actor::OnTransformChanged(); |
| 155 | |
| 156 | _bounds.Transformation = _transform; |
| 157 | _bounds.GetBoundingBox(_box); |
| 158 | BoundingSphere::FromBox(_box, _sphere); |
| 159 | |
| 160 | if (_sceneRenderingKey != -1) |
| 161 | GetSceneRendering()->UpdateActor(this, _sceneRenderingKey); |
| 162 | } |
nothing calls this directly
no test coverage detected