Return Matrix3d.Rotation(-view.ViewTwist, view.ViewDirection, view.Target) * Matrix3d.Displacement(view.Target - Point3d.Origin) * Matrix3d.PlaneToWorld(view.ViewDirection)
End Function
Private Function WorldToEye(view As ViewportTableRecord) As Matrix3d
Return Me.EyeToWorld(view).Inverse()
End Function
|
暂时没有评论
发表评论 - 不要忘了输入验证码哦! |