Code cleanup.

This commit is contained in:
2023-06-02 18:23:44 +08:00
parent 82f769f798
commit 2eba0e490f
2 changed files with 6 additions and 5 deletions

View File

@@ -180,9 +180,6 @@ namespace Cryville.Crtr {
float _jnumbuf; Vector4 _jvecbuf;
readonly PropSrc _jnumsrc, _jvecsrc;
unsafe void LoadNum(byte[] buffer, float value) {
fixed (byte* ptr = buffer) *(float*)ptr = value;
}
// Adopted from System.Collections.Generic.ArraySortHelper<T>.InternalBinarySearch(T[] array, int index, int length, T value, IComparer<T> comparer)
int BinarySearch(List<JudgeEvent> list, float time, int stack) {
int num = 0;