Make CursorTrail efficient and add colouring and transparency support.

This commit is contained in:
Thomas Müller
2016-11-26 18:01:24 +01:00
parent 23d0e52d4f
commit 069a19a916
2 changed files with 78 additions and 78 deletions

View File

@ -1,22 +1,15 @@
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using OpenTK;
using osu.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.OpenGL;
using osu.Framework.Graphics.OpenGL.Buffers;
using osu.Framework.Graphics.Primitives;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
using osu.Framework.Graphics.Transformations;
using osu.Framework.Input;
using OpenTK.Graphics;
using OpenTK.Graphics.ES30;
namespace osu.Game.Graphics.Cursor
{