예제 #1
0
        public virtual Visual3D GetVisual(Motion6D.Camera camera)
        {
            Visual3D v3d = Visual;

            visuals[camera] = v3d;
            if (!scaled)
            {
                return(v3d);
            }
            double sc = camera.Scale;

            if (sc == 1)
            {
                return(v3d);
            }
            v3d.Multiply(sc);
            return(v3d);
        }
예제 #2
0
 void ICameraConsumer.Remove(Motion6D.Camera camera)
 {
     visuals.Remove(camera);
 }
예제 #3
0
 void ICameraConsumer.Add(Motion6D.Camera camera)
 {
     GetVisual(camera);
 }