public void Update(double time, bool AI = false) { if (!AI) { _currentFramesInput = GetUserInput(); } if (_currentFramesInput.HasFlag(Input.Slow)) { time *= SLOW_MULTIPLIER; } // _position.Azimuth += time*0.5*Direction; if (_currentFramesInput.HasFlag(Input.Left)) { _position.Azimuth -= _velocity.Azimuth * time; } else if (_currentFramesInput.HasFlag(Input.Right)) { _position.Azimuth += _velocity.Azimuth * time; } _position = _position.Normalised(); _vertexBuffer.Bind(); _vertexBuffer.Initialise(); _vertexBuffer.SetData(BuildVertexList(), _dataSpecification); _vertexBuffer.UnBind(); }