| 475 | } |
| 476 | |
| 477 | static float CorneaZ(float r) |
| 478 | { |
| 479 | float x = 2028.0f - 25.0f * r * r; |
| 480 | return 0.13333f * (1.73205f * std::sqrt(x) - 78.0f); |
| 481 | } |
| 482 | |
| 483 | // Initializes the mesh as a plane |
| 484 | void Mesh::InitCornea(ID3D11Device* device, uint32 materialIdx) |