Ejemplo n.º 1
0
        public override void Print(SectionLayer layer, Thing thing)
        {
            Vector3 center = thing.TrueCenter() + (shadowInfo.offset + new Vector3(GlobalShadowPosOffsetX, 0f, GlobalShadowPosOffsetZ)).RotatedBy(thing.Rotation);

            center.y = AltitudeLayer.Shadows.AltitudeFor();
            Printer_Shadow.PrintShadow(layer, center, shadowInfo, thing.Rotation);
        }
        public override void Print(SectionLayer layer, Thing thing)
        {
            Vector3 center = thing.TrueCenter() + this.shadowInfo.offset.RotatedBy(thing.Rotation);

            center.y = Altitudes.AltitudeFor(AltitudeLayer.Shadows);
            Printer_Shadow.PrintShadow(layer, center, this.shadowInfo, thing.Rotation);
        }
 public static void PrintShadow(SectionLayer layer, Vector3 center, ShadowData shadow, Rot4 rotation)
 {
     Printer_Shadow.PrintShadow(layer, center, shadow.volume, rotation);
 }