public void SystemNumerics() { SysVector2 newScale = _sysScale * _sysAmount; SysVector2 deltaT = _sysScale * (SysVector2.One - _sysAmount); deltaT *= _sysAnchor; _sysResult = (_sysTranslation + deltaT) * newScale; }
public void Setup() { _openTkTranslation = new Vector2(1.7f, 2.3f); _openTkAnchor = new Vector2(1.0f, 0.0f); _openTkScale = new Vector2(7.0f, 3.6f); _openTkAmount = new Vector2(0.5f, 0.25f); _sysTranslation = new SysVector2(1.7f, 2.3f); _sysAnchor = new SysVector2(1.0f, 0.0f); _sysScale = new SysVector2(7.0f, 3.6f); _sysAmount = new SysVector2(0.5f, 0.25f); _mathSharpTranslation = Vector128.Create(1.7f, 2.3f, 0f, 0f); _mathSharpAnchor = Vector128.Create(1.0f, 0.0f, 0f, 0f); _mathSharpScale = Vector128.Create(7.0f, 3.6f, 0f, 0f); _mathSharpAmount = Vector128.Create(0.5f, 0.25f, 0f, 0f); }