3d_graphics
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
3d_graphics [2012/07/12 00:39] – [2D Graphics] javapimp | 3d_graphics [2023/08/18 18:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== 3D Graphics ====== | ====== 3D Graphics ====== | ||
- | |||
- | ===== 2D Graphics ===== | ||
- | |||
- | Formula for a line: | ||
- | |||
- | `y = mx + b` | ||
- | |||
- | Slope of a line: | ||
- | |||
- | `m = (Delta y)/(Delta x) = (y_2 - y_1)/(x_2 - x_1)` | ||
- | |||
- | Y-intercept: | ||
- | * // | ||
- | |||
- | `y = mx + b`\\ | ||
- | `y = m(0) + b`\\ | ||
- | `y = 0 + b`\\ | ||
- | `y = b`\\ | ||
- | |||
- | Pythagorean theorem: | ||
- | |||
- | `c^2 = a^2 + b^2` or `c = sqrt(a^2 + b^2)` | ||
3d_graphics.1342053543.txt.gz · Last modified: 2023/08/18 18:15 (external edit)