X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_gen.h;h=c0c4264898d1b6ef4db16c5255851d5cf47acbc7;hb=6c1541ad6a2915912e7439661820a786cb145af4;hp=b5481c044f100effcb99f2ab15805e34616bd5d0;hpb=ac4a2a0176bd9261b114003ee2c5a66bcf2676f3;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_gen.h b/world_gen.h index b5481c0..c0c4264 100644 --- 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; - if( ray_world( pos, (v3f){0.0001f,-1.0f,0.0001f}, &hit )) + if( ray_world( pos, (v3f){0.0f,-1.0f,0.0f}, &hit )) { struct world_material *m1 = ray_hit_material( &hit ); if((hit.normal[1] > 0.8f) && (m1 == mat) && (hit.pos[1] > 0.0f+10.0f))