mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Fix some clang compiler warnings (#14654)
* Fix some clang compiler warnings * Get rid of sdl_supports_primary_selection * Fix draw2DImage hiding overloaded virtual function
This commit is contained in:
parent
93f4844c9c
commit
5c187363b2
10 changed files with 12 additions and 69 deletions
|
@ -42,7 +42,6 @@ static v3f quantizeDirection(v3f direction, float step)
|
|||
void DirectionalLight::createSplitMatrices(const Camera *cam)
|
||||
{
|
||||
static const float COS_15_DEG = 0.965926f;
|
||||
v3f newCenter;
|
||||
v3f look = cam->getDirection().normalize();
|
||||
|
||||
// if current look direction is < 15 degrees away from the captured
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue