star-3d

Surface structuring for efficient 3D geometric queries
git clone git://git.meso-star.fr/star-3d.git
Log | Files | Refs | README | LICENSE

commit b554de479b6485268d3f20b93aa3abe2465afb70
parent 677bad93dd788141b13f87c5d10557fff0264dff
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Tue, 28 Jul 2015 21:55:04 +0200

Fix an issue in the s3d_sampler_begin_sampling process

The flip_surface state of the sampled meshes was not flush in the
sampler geometry cache.

Diffstat:
Msrc/s3d_sampler.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/s3d_sampler.c b/src/s3d_sampler.c @@ -120,6 +120,7 @@ cache_mesh(struct mesh* cache, struct mesh* mesh) cache->attribs[i] = mesh->attribs[i]; cache->attribs_type[i] = mesh->attribs_type[i]; } + cache->flip_surface = mesh->flip_surface; return upd_geom; }