Homogeneous coordinates: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(new page) |
(add category) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1:
{{Stub}}
The <math>w</math> coordinate of a <tt>vec4</tt> indicates (and should be set according to) whether the <tt>vec</tt> refers to a vector or a point [https://community.khronos.org/t/glsl-why-is-gl-vertex-a-vec4/60193]:
* <math>w = 0</math>: vector
* <math>w \neq 0</math>: point
[[Category:Linear algebra]]
[[Category:Graphics programming]]
|
Latest revision as of 14:50, 25 February 2020
- This article is currently a stub; it means I'm aware it's short and I probably intend to expand on the subject in the future!
The coordinate of a vec4 indicates (and should be set according to) whether the vec refers to a vector or a point [1]:
- : vector
- : point