| 909 | } |
| 910 | |
| 911 | void Cloth::Draw(RenderContext& renderContext) |
| 912 | { |
| 913 | // Update min draw distance for the next simulation tick |
| 914 | _lastMinDstSqr = Math::Min(_lastMinDstSqr, Vector3::DistanceSquared(_transform.Translation, renderContext.View.WorldPosition)); |
| 915 | } |
| 916 | |
| 917 | void Cloth::Draw(RenderContextBatch& renderContextBatch) |
| 918 | { |
no test coverage detected