A stealth-based 2D platformer where you don't have to kill anyone unless you want to. https://www.semicolin.games
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
370 B

  1. using Microsoft.Xna.Framework;
  2. using System;
  3. namespace SemiColinGames {
  4. public static class Vectors {
  5. public static Vector2 Floor(Vector2 v) {
  6. return new Vector2((float) Math.Floor(v.X), (float) Math.Floor(v.Y));
  7. }
  8. public static Vector2 Round(Vector2 v) {
  9. return new Vector2((float) Math.Round(v.X), (float) Math.Round(v.Y));
  10. }
  11. }
  12. }