mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-16 16:09:42 +01:00
Interpolate Direct Mode drawer closing
This is pretty simple to interpolate, since ed.dmtileeditor is guaranteed to have only changed by 1, and then it's just multiplied by 4.
This commit is contained in:
parent
b202e02578
commit
988a7720b9
1 changed files with 1 additions and 1 deletions
|
@ -2961,7 +2961,7 @@ void editorrender(void)
|
||||||
{
|
{
|
||||||
if(ed.dmtileeditor<=4)
|
if(ed.dmtileeditor<=4)
|
||||||
{
|
{
|
||||||
t2=(4-ed.dmtileeditor)*12;
|
t2=graphics.lerp((4-ed.dmtileeditor+1)*12, (4-ed.dmtileeditor)*12);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Draw five lines of the editor
|
//Draw five lines of the editor
|
||||||
|
|
Loading…
Reference in a new issue