Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
RedImp1470 authored and actions-user committed Sep 21, 2021
1 parent 8ed9137 commit a85d562
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions Examples/Complete/ComputeFractal/Core/ComputeFractal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,19 @@ private float Sawtooth(float i, float m)

private SceneContainer CreateGui()
{

/* Unmerged change from project 'Fusee.Examples.ComputeFractal.Core(net5.0)'
Before:
var vsTex = AssetStorage.Get<string>("texture.vert");
var psText = AssetStorage.Get<string>("text.frag");
After:
_ = AssetStorage.Get<string>("texture.vert");
string psText;
_ = AssetStorage.Get<string>("text.frag");
*/
_ = AssetStorage.Get<string>("texture.vert");
string psText;
_ = AssetStorage.Get<string>("text.frag");

var canvasWidth = Width / 100f;
var canvasHeight = Height / 100f;
Expand Down
2 changes: 1 addition & 1 deletion Examples/Complete/Materials/Core/Materials.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class Materials : RenderCanvas
public override void Init()
{
Font fontLato = AssetStorage.Get<Font>("Lato-Black.ttf");
FontMap fontLatoMap = new(fontLato, 32);
FontMap fontLatoMap = new(fontLato, 32);

Icosphere icosphereWithTangents = new(5);
icosphereWithTangents.Tangents = icosphereWithTangents.CalculateTangents();
Expand Down
2 changes: 1 addition & 1 deletion Examples/Complete/UI/Core/UI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private SceneContainer CreateNineSliceScene()
VerticalTextAlignment.Center);

var catTextureNode = new TextureNode(
"Cat",
"Cat",
//Set the albedo texture you want to use.
new Texture(AssetStorage.Get<ImageData>("Kitti.jpg"), false, TextureFilterMode.Linear),

Expand Down

0 comments on commit a85d562

Please sign in to comment.