Skip to content

Commit

Permalink
remove Vector2 add use Float2 on Writer.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
alec1o authored Sep 4, 2023
1 parent 31a4afd commit 755026a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Source/Writer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Linq;
using System.Collections.Generic;
using Byter.Core.Interface;
using System.Numerics;

namespace Byter
{
Expand Down Expand Up @@ -226,9 +225,9 @@ internal static char GetPrefix(Type type)
else if (type == typeof(char)) /* char */ return 'K';
else if (type == typeof(string)) /* string */ return 'L';
else if (type == typeof(bool)) /* bool */ return 'M';
else if (type == typeof(Vector2)) /* Vector2 */ return 'N';
else if (type == typeof(2)) /* Vector2 */ return 'N';

Check failure on line 228 in src/Source/Writer.cs

View workflow job for this annotation

GitHub Actions / build

Type expected

Check failure on line 228 in src/Source/Writer.cs

View workflow job for this annotation

GitHub Actions / build

) expected

Check failure on line 228 in src/Source/Writer.cs

View workflow job for this annotation

GitHub Actions / build

; expected

Check failure on line 228 in src/Source/Writer.cs

View workflow job for this annotation

GitHub Actions / build

} expected

Check failure on line 228 in src/Source/Writer.cs

View workflow job for this annotation

GitHub Actions / build

'else' cannot start a statement.

Check failure on line 228 in src/Source/Writer.cs

View workflow job for this annotation

GitHub Actions / build

Syntax error, '(' expected

Check failure on line 228 in src/Source/Writer.cs

View workflow job for this annotation

GitHub Actions / build

Invalid expression term 'else'

Check failure on line 228 in src/Source/Writer.cs

View workflow job for this annotation

GitHub Actions / build

) expected

Check failure on line 228 in src/Source/Writer.cs

View workflow job for this annotation

GitHub Actions / build

; expected

Check failure on line 228 in src/Source/Writer.cs

View workflow job for this annotation

GitHub Actions / build

Type expected
else /* null */ return '0';
}

}
}
}

0 comments on commit 755026a

Please sign in to comment.