Mentions légales du service

Skip to content
Snippets Groups Projects
Commit b8b3ae88 authored by Olivier COULAUD's avatar Olivier COULAUD
Browse files

Fix bug with cuboid

parent 42c991d5
Branches
Tags
No related merge requests found
......@@ -167,7 +167,7 @@ int main(int argc, char ** argv){
std::stringstream ss(aspectRatio); ss >>A >> B >> C ;
unifRandonPointsOnCube(NbPoints, A,B,C,particles) ;
BoxWith = FMath::Max(A,FMath::Max(B,C) );
FReal halfBW = BoxWith;
FReal halfBW = BoxWith*0.5;
Centre.setPosition(halfBW,halfBW,halfBW);
}
else if(FParameters::existParameter(argc, argv, "-unitSphere")){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment