Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/render/intern/source/sunsky.c')
-rw-r--r--source/blender/render/intern/source/sunsky.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/render/intern/source/sunsky.c b/source/blender/render/intern/source/sunsky.c
index f0cf29e98ca..7aed5f87dbc 100644
--- a/source/blender/render/intern/source/sunsky.c
+++ b/source/blender/render/intern/source/sunsky.c
@@ -84,7 +84,7 @@ void ClipColor(float c[3])
/**
* AngleBetween:
- * compute angle between to direction
+ * compute angle between to direction
* all angles are in radians
* */
static float AngleBetween(float thetav, float phiv, float theta, float phi)
@@ -353,7 +353,7 @@ static void ComputeAttenuatedSunlight(float theta, int turbidity, float fTau[3])
* parameters:
* sunSky, contains information about sun, and in this function some atmosphere parameters will initiated
* sun_intens, shows sun intensity value
- * mief, Mie scattering factor this factor currently call with 1.0
+ * mief, Mie scattering factor this factor currently call with 1.0
* rayf, Rayleigh scattering factor, this factor currently call with 1.0
* inscattf, inscatter light factor that range from 0.0 to 1.0, 0.0 means no inscatter light and 1.0 means full inscatter light
* extincf, extinction light factor that range from 0.0 to 1.0, 0.0 means no extinction and 1.0 means full extinction
@@ -429,7 +429,7 @@ void InitAtmosphere(struct SunSky *sunSky, float sun_intens, float mief, float r
* parameters:
* sunSky, contains information about sun parameters and user values
* view, is camera view vector
- * s, is distance
+ * s, is distance
* rgb, contains rendered color value for a pixle
* */
void AtmospherePixleShader(struct SunSky *sunSky, float view[3], float s, float rgb[3])