Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b79a648

Browse files
authored
Remove note about unit of fovy
Typo fix: `cotangen` → `cotangent` Now, `fovy` is only used in `cotangent(fovy)`. The text doesn't mention any specific implementation for `cotangent`. The mathematical function just takes an angle. When implementing this, `fovy` should be in whatever units the `cotangent` implementation uses – but that can go without saying.
1 parent 5cc5cf0 commit b79a648

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

04-maths.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,14 +437,14 @@ field of view in the horizontal and vertical direction:
437437
438438
┌ ┐ n: near
439439
│ c/aspect 0 0 0 │ f: far
440-
│ 0 c 0 0 │ c : cotangen(fovy)
440+
│ 0 c 0 0 │ c: cotangent(fovy)
441441
│ 0 0 (f+n)/(n-f) 2nf/(n-f) │
442442
│ 0 0 -1 0 │
443443
└ ┘
444444
Perspective projection
445445
446446
447-
where `fovy` specifies the field of view angle, in degrees, in the y direction
447+
where `fovy` specifies the field of view angle in the y direction
448448
and `aspect` specifies the aspect ratio that determines the field of view in
449449
the x direction.
450450

0 commit comments

Comments
 (0)