Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[CONNECT C++] Replacement for mdlRMatrix_ functions in CONNECT API

$
0
0

In pre CONNECT, I do something like:

// get the view rotation
RotMatrix		invMatrix			={0};
mdlRMatrix_getInverse( &invMatrix, (RotMatrixP)ev.GetViewport()->GetRotMatrix() );
// rotate the view inverse rotation matrix by the ActiveAngle
mdlRMatrix_rotate( &invMatrix, (RotMatrixCP)&invMatrix, 0.0, 0.0, actAng*fc_piover180 );

 

 

In CONNECT, how do I perform the equivalent of mdlRMatrix_rotate():

// get the view rotation
RotMatrix		invMatrix			={0};
invMatrix.InverseOf( *ev.GetViewport()->GetRotMatrix() );
invMatrix.??		// ?? the equivalent of mdlRMatrix_rotate() ??

 

 

 

Thanks,

 

Bruce


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>