From 13c35a57b058beec9ff9b02bcb28765ce4e27716 Mon Sep 17 00:00:00 2001 From: yoichi kobayashi Date: Thu, 11 Jan 2018 17:16:47 +0900 Subject: [PATCH] renamed polar function to spherical. --- polar.glsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polar.glsl b/polar.glsl index c93e957..6b25296 100644 --- a/polar.glsl +++ b/polar.glsl @@ -1,8 +1,8 @@ -vec3 polar(float radian1, float radian2, float radius) { +vec3 spherical(float radian1, float radian2, float radius) { return vec3( cos(radian1) * cos(radian2) * radius, sin(radian1) * radius, cos(radian1) * sin(radian2) * radius ); } -#pragma glslify: export(polar) +#pragma glslify: export(spherical)