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:
authorTon Roosendaal <ton@blender.org>2003-04-26 17:07:59 +0400
committerTon Roosendaal <ton@blender.org>2003-04-26 17:07:59 +0400
commit1458560f6dd1fd238f15d06d10761d5e65c48285 (patch)
tree4b7f105164981b78825915778099b231aef419a1 /source/blender/blenkernel/intern/world.c
parent76fe6daa159a89a21b9005b66263de7f5e9d2299 (diff)
The last of the blenkernel files with translated comments
Diffstat (limited to 'source/blender/blenkernel/intern/world.c')
-rw-r--r--source/blender/blenkernel/intern/world.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/source/blender/blenkernel/intern/world.c b/source/blender/blenkernel/intern/world.c
index f38911cedec..cfcbac0e80a 100644
--- a/source/blender/blenkernel/intern/world.c
+++ b/source/blender/blenkernel/intern/world.c
@@ -1,7 +1,6 @@
-/* world.c MIX MODEL
+/* world.c
*
- * april 95
*
* $Id$
*
@@ -121,11 +120,11 @@ void make_local_world(World *wrld)
Scene *sce;
World *wrldn;
int local=0, lib=0;
-
- /* - zijn er alleen lib users: niet doen
- * - zijn er alleen locale users: flag zetten
- * - mixed: copy
- */
+
+ /* - only lib users: do nothing
+ * - only local users: set flag
+ * - mixed: make copy
+ */
if(wrld->id.lib==0) return;
if(wrld->id.us==1) {
@@ -192,7 +191,7 @@ void init_render_world()
if(G.scene->camera && G.scene->camera->type==OB_CAMERA) {
Camera *cam= G.scene->camera->data;
if(cam->type==CAM_ORTHO) {
- /* dit is maar ongeveer */
+ /* this is an estimation */
R.wrld.miststa+= (float)fabs(R.viewmat[3][2]);
}
}