Fix typos.

PiperOrigin-RevId: 716211176
Change-Id: Ibadfe13db89ed9047832b977e918faa3c5c6d9f1
This commit is contained in:
Yuval Tassa
2025-01-16 06:27:55 -08:00
committed by Copybara-Service
parent 4da2ddce29
commit 893a993bf6
16 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -895,7 +895,7 @@ static void setVertexHaze(float* v, float az, float h, float r) {
// truncated cone for haze rendering
static void haze(int nSlice, float r, const float* rgba) {
// compute elevation h for transparancy transition point
// compute elevation h for transparency transition point
float alpha = atan2f(1, r);
float beta = (float)(0.75*mjPI) - alpha;
float h = sqrtf(0.5f) * r * sinf(alpha) / sinf(beta);