Exemple #1
0
        public void DrawNormal(Texture2D Tex, Rectangle Pos)
        {
            NormalMap NM = new NormalMap();

            NM.Normal   = Tex;
            NM.Position = Pos;
            AddNormal(NM, 0);
            //Normals.Add(NM);
        }
Exemple #2
0
        public void DrawNormal(Texture2D Tex, Vector2 Pos)
        {
            NormalMap NM = new NormalMap();

            NM.Normal   = Tex;
            NM.Position = new Rectangle((int)Pos.X, (int)Pos.Y, 0, 0);
            AddNormal(NM, 0);
            //Normals.Add(NM);
        }
Exemple #3
0
        public void DrawNormal(Texture2D Tex, Rectangle Pos, Rectangle?Region, float Angle, Vector2 Center, float Z)
        {
            NormalMap NM = new NormalMap();

            NM.Normal         = Tex;
            NM.Position       = Pos;
            NM.Region         = Region;
            NM.Angle          = Angle;
            NM.RotationCenter = Center;
            AddNormal(NM, Z);
            // Normals.Add(NM);
        }
Exemple #4
0
        public void DrawNormal(Texture2D Tex, Vector2 Pos, Rectangle?Region, float Angle, Vector2 Center)
        {
            NormalMap NM = new NormalMap();

            NM.Normal         = Tex;
            NM.Position       = new Rectangle((int)Pos.X, (int)Pos.Y, 0, 0);
            NM.Region         = Region;
            NM.Angle          = Angle;
            NM.RotationCenter = Center;
            AddNormal(NM, 0);
            //Normals.Add(NM);
        }
Exemple #5
0
 public void AddNormal(NormalMap NM, float Z)
 {
     if (Normals.ContainsKey(Z))
     {
         Normals[Z].Add(NM);
     }
     else
     {
         Normals.Add(Z, new List <NormalMap>());
         Normals[Z].Add(NM);
     }
 }
 public void DrawNormal(Texture2D Tex, Rectangle Pos, Rectangle? Region, float Angle, Vector2 Center, float Z)
 {
     NormalMap NM = new NormalMap();
     NM.Normal = Tex;
     NM.Position = Pos;
     NM.Region = Region;
     NM.Angle = Angle;
     NM.RotationCenter = Center;
     AddNormal(NM, Z);
        // Normals.Add(NM);
 }
 public void DrawNormal(Texture2D Tex, Vector2 Pos, Rectangle? Region, float Angle, Vector2 Center)
 {
     NormalMap NM = new NormalMap();
     NM.Normal = Tex;
     NM.Position = new Rectangle((int)Pos.X, (int)Pos.Y, 0, 0);
     NM.Region = Region;
     NM.Angle = Angle;
     NM.RotationCenter = Center;
     AddNormal(NM, 0);
     //Normals.Add(NM);
 }
 public void DrawNormal(Texture2D Tex, Rectangle Pos, Rectangle? Region)
 {
     NormalMap NM = new NormalMap();
     NM.Normal = Tex;
     NM.Position = Pos;
     NM.Region = Region;
     AddNormal(NM, 0);
     //Normals.Add(NM);
 }
 public void DrawNormal(Texture2D Tex, Vector2 Pos, Rectangle? Region)
 {
     NormalMap NM = new NormalMap();
     NM.Normal = Tex;
     NM.Position = new Rectangle((int)Pos.X, (int)Pos.Y, 0, 0);
     NM.Region = Region;
     AddNormal(NM, 0);
     //Normals.Add(NM);
 }
 public void AddNormal(NormalMap NM, float Z)
 {
     if (Normals.ContainsKey(Z))
     {
         Normals[Z].Add(NM);
     }
     else
     {
         Normals.Add(Z, new List<NormalMap>());
         Normals[Z].Add(NM);
     }
 }