mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-06 10:20:42 +00:00
Fixed code formatting.
This commit is contained in:
parent
9516b56eb4
commit
546decd579
|
@ -37,7 +37,8 @@ namespace Examples.Tutorial
|
|||
|
||||
#region --- Constructor ---
|
||||
|
||||
public T03_Immediate_Mode_Cube() : base(800, 600, new GraphicsMode(16, 16))
|
||||
public T03_Immediate_Mode_Cube()
|
||||
: base(800, 600, new GraphicsMode(16, 16))
|
||||
{ }
|
||||
|
||||
#endregion
|
||||
|
|
|
@ -304,6 +304,5 @@ namespace Examples.Tutorial
|
|||
example.Run(30.0, 0.0);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -141,7 +141,8 @@ namespace Examples.Tutorial
|
|||
// reset particle
|
||||
ParticleAttributes[i].Age = 0;
|
||||
VBO[i].Position = Vector3.Zero;
|
||||
} else
|
||||
}
|
||||
else
|
||||
{
|
||||
ParticleAttributes[i].Age += (uint)Math.Max(ParticleAttributes[i].Direction.LengthFast * 10, 1);
|
||||
Vector3.Multiply(ref ParticleAttributes[i].Direction, (float)e.Time, out temp);
|
||||
|
|
Loading…
Reference in a new issue