Merge commit '52f4c77a9d06ba89c068c7b3260aace385b32e0a'
This commit is contained in:
commit
f482aaa428
@ -2,7 +2,7 @@ vec3 polar(float radian1, float radian2, float radius) {
|
|||||||
return vec3(
|
return vec3(
|
||||||
cos(radian1) * cos(radian2) * radius,
|
cos(radian1) * cos(radian2) * radius,
|
||||||
sin(radian1) * radius,
|
sin(radian1) * radius,
|
||||||
cos(radian1) * sin(radian2) * radius,
|
cos(radian1) * sin(radian2) * radius
|
||||||
)
|
);
|
||||||
}
|
}
|
||||||
#pragma glslify: export(polar)
|
#pragma glslify: export(polar)
|
||||||
|
Loading…
Reference in New Issue
Block a user