mirror of
https://github.com/celisej567/mcpe.git
synced 2026-01-05 18:10:09 +03:00
Cleaned up Cube (#48)
* Cleaned up Cube * Refactor/cleanup & documentation of Cube * Renamed Tesselator to Tessellator * Revert "Tesselator" Spelling Correction --------- Co-authored-by: Brent Da Mage <BrentDaMage@users.noreply.github.com>
This commit is contained in:
@@ -99,7 +99,7 @@ void Dimension::updateLightRamp()
|
||||
#else
|
||||
// @NOTE: Adjusted calculation causes full bright tiles to render at 80% brightness.
|
||||
// This was probably done so that highlighted tiles don't have their brightness blown up and the texture doesn't look weird.
|
||||
field_10[i] = ((1.0f - ((i * -0.0625f) + 1.0f)) / ((((i * -0.0625f) + 1.0f) * 3.0f) + 1.0f)) * 0.95f + 0.05f;
|
||||
m_rotY[i] = ((1.0f - ((i * -0.0625f) + 1.0f)) / ((((i * -0.0625f) + 1.0f) * 3.0f) + 1.0f)) * 0.95f + 0.05f;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user