예제 #1
0
        Hisui.Geom.Point3d[] GetQuadPoints()
        {
            var radius = _docviews.WorldDocumentScene.BoundingSphere.Radius;
            var points = CoreUT.MakeArray(
                GeomUT.P(radius, radius),
                GeomUT.P(-radius, radius),
                GeomUT.P(-radius, -radius),
                GeomUT.P(radius, -radius));

            return(CoreUT.MakeArray(4, i => _clip.CodSys.Globalize(points[i])));
        }
예제 #2
0
 ViewSetting(Graphics.DocumentViews docviews)
 {
     _docviews = docviews;
     _lights   = CoreUT.MakeArray(4, i => new LightSetting(Graphics.Light.Lights[i]));
 }