projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
j
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_gen.h
diff --git
a/world_gen.h
b/world_gen.h
index b5481c044f100effcb99f2ab15805e34616bd5d0..3a66523991d09c1efac6812fb7c48a40c8b6532e 100644
(file)
--- a/
world_gen.h
+++ b/
world_gen.h
@@
-71,7
+71,7
@@
VG_STATIC void world_apply_procedural_foliage( struct world_material *mat )
ray_hit hit;
hit.dist = INFINITY;
ray_hit hit;
hit.dist = INFINITY;
- if( ray_world( pos, (v3f){0.0
001f,-1.0f,0.0001
f}, &hit ))
+ if( ray_world( pos, (v3f){0.0
f,-1.0f,0.0
f}, &hit ))
{
struct world_material *m1 = ray_hit_material( &hit );
if((hit.normal[1] > 0.8f) && (m1 == mat) && (hit.pos[1] > 0.0f+10.0f))
{
struct world_material *m1 = ray_hit_material( &hit );
if((hit.normal[1] > 0.8f) && (m1 == mat) && (hit.pos[1] > 0.0f+10.0f))
@@
-593,11
+593,12
@@
VG_STATIC void world_post_process(void)
vg_release_thread_sync();
vg_release_thread_sync();
+#if 0
/*
* Setup scene collider
*/
/*
* Setup scene collider
*/
-
reset_player( 1, (const char *[]){"start"} );
reset_player( 1, (const char *[]){"start"} );
+#endif
}
VG_STATIC void world_process_resources(void)
}
VG_STATIC void world_process_resources(void)