diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-17 03:23:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-17 03:23:33 +0400 |
commit | 32cf7fcdb147d4f467279109db384b9a9d3c6708 (patch) | |
tree | a6a899e8a801c7c8975289de99137626e21143ef /source/blender/render | |
parent | 1f96470b5d80f05aef1dc1c262ba1a0a56a1d1fb (diff) |
code cleanup: spelling
Diffstat (limited to 'source/blender/render')
10 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/render/intern/include/zbuf.h b/source/blender/render/intern/include/zbuf.h index cdf171443d7..99bde3fe02b 100644 --- a/source/blender/render/intern/include/zbuf.h +++ b/source/blender/render/intern/include/zbuf.h @@ -46,7 +46,7 @@ struct StrandShadeCache; void fillrect(int *rect, int x, int y, int val); /** - * Converts a world coordinate into a homogenous coordinate in view + * Converts a world coordinate into a homogeneous coordinate in view * coordinates. */ void projectvert(const float v1[3], float winmat[][4], float adr[4]); @@ -95,7 +95,7 @@ typedef struct ZSpan { float zmulx, zmuly, zofsx, zofsy; /* transform from hoco to zbuf co */ - int *rectz, *arectz; /* zbuffers, arectz is for transparant */ + int *rectz, *arectz; /* zbuffers, arectz is for transparent */ int *rectz1; /* seconday z buffer for shadowbuffer (2nd closest z) */ int *rectp; /* polygon index buffer */ int *recto; /* object buffer */ diff --git a/source/blender/render/intern/raytrace/reorganize.h b/source/blender/render/intern/raytrace/reorganize.h index 1e9a0319b2f..a9ed71a76bc 100644 --- a/source/blender/render/intern/raytrace/reorganize.h +++ b/source/blender/render/intern/raytrace/reorganize.h @@ -421,7 +421,7 @@ struct VBVH_optimalPackSIMD { } } - //Save the ways to archieve the minimum cost with a given cutsize + /* Save the ways to archive the minimum cost with a given cutsize */ for (int i = nchilds; i <= MAX_CUT_SIZE; i++) { node->cut_cost[i - 1] = cost[nchilds][i]; if (cost[nchilds][i] < INFINITY) { diff --git a/source/blender/render/intern/source/convertblender.c b/source/blender/render/intern/source/convertblender.c index 803a9a95571..eaab1b988ae 100644 --- a/source/blender/render/intern/source/convertblender.c +++ b/source/blender/render/intern/source/convertblender.c @@ -3391,7 +3391,7 @@ static void init_render_mesh(Render *re, ObjectRen *obr, int timeoffset) ma= give_render_material(re, ob, a1+1); - /* test for 100% transparant */ + /* test for 100% transparent */ ok= 1; if (ma->alpha==0.0f && ma->spectra==0.0f && ma->filter==0.0f && (ma->mode & MA_TRANSP) && (ma->mode & MA_RAYMIRROR)==0) { ok= 0; @@ -5495,7 +5495,7 @@ static int load_fluidsimspeedvectors(Render *re, ObjectInstanceRen *obi, float * camco[1] = dot_v3v3(imat[1], fsvec); camco[2] = dot_v3v3(imat[2], fsvec); - /* get homogenous coordinates */ + /* get homogeneous coordinates */ projectvert(camco, winmat, hoco); projectvert(ver->co, winmat, ho); diff --git a/source/blender/render/intern/source/imagetexture.c b/source/blender/render/intern/source/imagetexture.c index a0ba2a82ead..3e6d0f281fd 100644 --- a/source/blender/render/intern/source/imagetexture.c +++ b/source/blender/render/intern/source/imagetexture.c @@ -539,7 +539,7 @@ static void boxsample(ImBuf *ibuf, float minx, float miny, float maxx, float max */ /* note: actually minx etc isn't in the proper range... this due to filter size and offset vectors for bump */ /* note: talpha must be initialized */ - /* note: even when 'imaprepeat' is set, this can only repeate once in any direction. + /* note: even when 'imaprepeat' is set, this can only repeat once in any direction. * the point which min/max is derived from is assumed to be wrapped */ TexResult texr; rctf *rf, stack[8]; diff --git a/source/blender/render/intern/source/rayshade.c b/source/blender/render/intern/source/rayshade.c index 8a936545903..cb7122c834c 100644 --- a/source/blender/render/intern/source/rayshade.c +++ b/source/blender/render/intern/source/rayshade.c @@ -1043,7 +1043,7 @@ static void QMC_initPixel(QMCSampler *qsa, int thread) } else { /* SAMP_TYPE_HALTON */ - /* generate a new randomised halton sequence per pixel + /* generate a new randomized halton sequence per pixel * to alleviate qmc artifacts and make it reproducible * between threads/frames */ double ht_invprimes[2], ht_nums[2]; diff --git a/source/blender/render/intern/source/render_texture.c b/source/blender/render/intern/source/render_texture.c index c8ef3e4a8dd..74e2c094850 100644 --- a/source/blender/render/intern/source/render_texture.c +++ b/source/blender/render/intern/source/render_texture.c @@ -2985,7 +2985,7 @@ void do_sky_tex(const float rco[3], float lo[3], const float dxyview[2], float h } else { /* this value has no angle, the vector is directly along the view. - * avoide divide by zero and use a dummy value. */ + * avoid divide by zero and use a dummy value. */ tempvec[0]= 1.0f; tempvec[1]= 0.0; tempvec[2]= 0.0; diff --git a/source/blender/render/intern/source/renderdatabase.c b/source/blender/render/intern/source/renderdatabase.c index 85d0c36be1a..b12753543e9 100644 --- a/source/blender/render/intern/source/renderdatabase.c +++ b/source/blender/render/intern/source/renderdatabase.c @@ -49,7 +49,7 @@ * - If the entry has no block allocated for it yet, memory is * allocated. * - * The pointer to the correct entry is returned. Memory is guarateed + * The pointer to the correct entry is returned. Memory is guaranteed * to exist (as long as the malloc does not break). Since guarded * allocation is used, memory _must_ be available. Otherwise, an * exit(0) would occur. diff --git a/source/blender/render/intern/source/sunsky.c b/source/blender/render/intern/source/sunsky.c index ddc7dff7b06..6a1517e19fb 100644 --- a/source/blender/render/intern/source/sunsky.c +++ b/source/blender/render/intern/source/sunsky.c @@ -360,7 +360,7 @@ static void ComputeAttenuatedSunlight(float theta, int turbidity, float fTau[3]) * 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 - * disf, is distance factor, multiplyed to pixle's z value to compute each pixle's distance to camera, + * disf, is distance factor, multiplied to pixle's z value to compute each pixle's distance to camera, * */ void InitAtmosphere(struct SunSky *sunSky, float sun_intens, float mief, float rayf, float inscattf, float extincf, float disf) diff --git a/source/blender/render/intern/source/volumetric.c b/source/blender/render/intern/source/volumetric.c index 67e453577e4..220fcd3e986 100644 --- a/source/blender/render/intern/source/volumetric.c +++ b/source/blender/render/intern/source/volumetric.c @@ -415,7 +415,7 @@ static void vol_get_transmittance_seg(ShadeInput *shi, float tr[3], float stepsi vol_get_sigma_t(shi, sigma_t, co); - /* homogenous volume within the sampled distance */ + /* homogeneous volume within the sampled distance */ tau[0] += stepd * sigma_t[0]; tau[1] += stepd * sigma_t[1]; tau[2] += stepd * sigma_t[2]; diff --git a/source/blender/render/intern/source/zbuf.c b/source/blender/render/intern/source/zbuf.c index 1ebb963a790..fde25865577 100644 --- a/source/blender/render/intern/source/zbuf.c +++ b/source/blender/render/intern/source/zbuf.c @@ -1626,7 +1626,7 @@ static void clippyra(float *labda, float *v1, float *v2, int *b2, int *b3, int a v13= clipcrop*v1[3]; } /* according the original article by Liang&Barsky, for clipping of - * homogenous coordinates with viewplane, the value of "0" is used instead of "-w" . + * homogeneous coordinates with viewplane, the value of "0" is used instead of "-w" . * This differs from the other clipping cases (like left or top) and I considered * it to be not so 'homogenic'. But later it has proven to be an error, * who would have thought that of L&B! |