glsl/builtins: Rename 'x' to 'y_over_x' in atan(float) implementation.
For consistency with the vec2/vec3/vec4 variants.
This commit is contained in:
parent
01b39b053b
commit
84566c770a
|
@ -1,14 +1,14 @@
|
|||
((function atan
|
||||
(signature float
|
||||
(parameters
|
||||
(declare (in) float x))
|
||||
(declare (in) float y_over_x))
|
||||
((return (call asin ((expression float *
|
||||
(var_ref x)
|
||||
(var_ref y_over_x)
|
||||
(expression float rsq
|
||||
(expression float +
|
||||
(expression float *
|
||||
(var_ref x)
|
||||
(var_ref x))
|
||||
(var_ref y_over_x)
|
||||
(var_ref y_over_x))
|
||||
(constant float (1.0))))))))))
|
||||
|
||||
(signature vec2
|
||||
|
|
Loading…
Reference in New Issue