]> OCCT Git - occt-copy.git/commit
0026485: Problem with the normals of a triangulated shape
authoroan <oan@opencascade.com>
Thu, 30 Jul 2015 09:52:44 +0000 (12:52 +0300)
committerabv <abv@opencascade.com>
Wed, 2 Sep 2015 11:38:46 +0000 (14:38 +0300)
commit08c65c235577c2165fc2bfa1dd1fd04acf58f8c4
treeac3f20c682a37153ec5d95cd3542dd69d605ae4c
parent86fc2729b83569a41eba61a55b7f74848d932ab9
0026485: Problem with the normals of a triangulated shape

Use gp::Resolution() instead of Precision::SquareConfustion() in order to normalize normal vectors according to implementation of gp_Vec::Normalize().

Test case

Test-case for issue #26485
src/Poly/Poly.cxx
src/QABugs/QABugs_19.cxx
tests/bugs/fclasses/bug26485 [new file with mode: 0644]