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]))); }
ViewSetting(Graphics.DocumentViews docviews) { _docviews = docviews; _lights = CoreUT.MakeArray(4, i => new LightSetting(Graphics.Light.Lights[i])); }