| 1849 | Ref<Object> star = new ObjectColored(_collisionStar->GetShape(), -1); |
| 1850 | star->SetTransform(M4Identity); |
| 1851 | star->SetPosition(pos); |
| 1852 | star->SetScale(size * 4); |
| 1853 | star->SetConstantColor(color); |
| 1854 | GetLandscape()->ShowObject(star); |
| 1855 | } |
| 1856 | } |
| 1857 | |
| 1858 | void Scene::DrawDiagModel(Vector3Par pos, LODShapeWithShadow* shape, float size, PackedColor color) |
| 1859 | { |
| 1860 | Ref<Object> star = new ObjectColored(shape, -1); |
| 1861 | star->SetTransform(M4Identity); |
| 1862 | star->SetPosition(pos); |
nothing calls this directly
no test coverage detected