0031673: Draw Harness, ViewerTest - command vlocation applies transformation in oppos...
authorkgv <kgv@opencascade.com>
Sat, 18 Jul 2020 21:36:04 +0000 (00:36 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 23 Jul 2020 13:08:17 +0000 (16:08 +0300)
commitdbc8becff4311dca8a7269e33a6084d42b4f2e70
treec3ddc67094ff54735f31709c458e6af948791625
parent99ee8f1a83f3e29af4fa149bd95e48001e0d86c8
0031673: Draw Harness, ViewerTest - command vlocation applies transformation in opposite order

gp_Trsf::SetRotationPart() - added method replacing rotation matrix without reseting other components,
similar to existing SetTraslationPart() and SetScaleFactor().

Transformation multiplication order has been fixed
for vlocation arguments -rotate, -translate, -mirror and -scale.
Added -prerotate, -pretranslate, -premirror and -prescale options following previous behavior.

vlocation -setRotation now uses new method gp_Trsf::SetRotationPart()
for consistency with methods -setLocation and -setScale.
samples/tcl/pathtrace_cube.tcl
src/ViewerTest/ViewerTest_ObjectCommands.cxx
src/gp/gp_Trsf.cxx
src/gp/gp_Trsf.hxx
tests/bugs/vis/bug25276
tests/bugs/vis/bug31673 [new file with mode: 0644]
tests/v3d/glsl/bndbox1
tests/v3d/raytrace/bug25221