Database Support

Refactored almost everything, but most importantly we now integrate with RethinkDB for game data.
This commit is contained in:
hyperion51 2020-03-22 19:05:26 +00:00
commit 0b46d5ee39
839 changed files with 77349 additions and 112660 deletions

View file

@ -0,0 +1,20 @@
using System.Collections;
using System.Collections.Generic;
using Unity.Mathematics;
using static Unity.Mathematics.math;
public class OrbitInstance
{
private OrbitData _data;
public OrbitInstance(OrbitData data)
{
_data = data;
}
public static float2 Evaluate(float phase)
{
phase *= (PI * 2);
return new float2(sin(phase), cos(phase));
}
}