Fix typos.
PiperOrigin-RevId: 716211176 Change-Id: Ibadfe13db89ed9047832b977e918faa3c5c6d9f1
This commit is contained in:
committed by
Copybara-Service
parent
4da2ddce29
commit
893a993bf6
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user