mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-16 10:08:36 +03:00
0025867: Visualization, TKOpenGl - fix misprint in transformation persistence math
Added test case
This commit is contained in:
parent
6262338c4b
commit
8621cdc2b7
@ -318,7 +318,7 @@ const TEL_TRANSFORM_PERSISTENCE* OpenGl_View::BeginTransformPersistence (const H
|
|||||||
aModelMatrix,
|
aModelMatrix,
|
||||||
aProjMatrix,
|
aProjMatrix,
|
||||||
aViewport,
|
aViewport,
|
||||||
aWinZ,
|
aWinX,
|
||||||
aWinY,
|
aWinY,
|
||||||
aWinZ);
|
aWinZ);
|
||||||
}
|
}
|
||||||
|
21
tests/bugs/vis/bug25867
Normal file
21
tests/bugs/vis/bug25867
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
puts "============"
|
||||||
|
puts "OCC25867"
|
||||||
|
puts "============"
|
||||||
|
puts ""
|
||||||
|
#################################################################################
|
||||||
|
puts "Visualization, TKOpenGl - fix misprint in transformation persistence math"
|
||||||
|
#################################################################################
|
||||||
|
|
||||||
|
set anImage1 $imagedir/${casename}_1.png
|
||||||
|
set anImage2 $imagedir/${casename}_2.png
|
||||||
|
vinit
|
||||||
|
box b1 -1 -1 -1 3 3 3
|
||||||
|
box b2 4 4 4 30 20 20
|
||||||
|
vdisplay b1 b2
|
||||||
|
vsettransmode b2 2 0 0 0
|
||||||
|
vfit
|
||||||
|
vdump $anImage1
|
||||||
|
|
||||||
|
vsettransmode b2 2 1 1 1
|
||||||
|
vdump $anImage2
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user