Skip to content
Snippets Groups Projects
Commit a5384685 authored by Nicola Vigano's avatar Nicola Vigano
Browse files

gtPlaceSubVolume: fixed a bug in the 'conflict' assembling

parent 157bad2c
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ namespace GT3D {
{
if (voxel_ip)
{
voxel_op = (-1 + (! voxel_op) * voxel_ip);
voxel_op = (-1 + (! voxel_op) * (voxel_ip + 1));
}
}
protected:
......@@ -92,7 +92,7 @@ namespace GT3D {
{
if (voxel_ip)
{
voxel_op = (-1.0f + (! voxel_op) * voxel_ip);
voxel_op = (-1.0f + (! voxel_op) * (voxel_ip + 1.0f));
}
}
......@@ -102,7 +102,7 @@ namespace GT3D {
{
if (voxel_ip)
{
voxel_op = (-1.0 + (! voxel_op) * voxel_ip);
voxel_op = (-1.0 + (! voxel_op) * (voxel_ip + 1.0f));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment