occt: master dbc8becf

Author Committer Branch Timestamp Parent
kgv bugmaster master 2020-07-18 21:36:04 master 99ee8f1a
Affected Issues  0031673: Draw Harness, ViewerTest - command vlocation applies transformation in opposite order
Changeset 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.
mod - samples/tcl/pathtrace_cube.tcl Diff File
mod - src/gp/gp_Trsf.cxx Diff File
mod - src/gp/gp_Trsf.hxx Diff File
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx Diff File
mod - tests/bugs/vis/bug25276 Diff File
add - tests/bugs/vis/bug31673 Diff File
mod - tests/v3d/glsl/bndbox1 Diff File
mod - tests/v3d/raytrace/bug25221 Diff File