Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'master' into 1-import-svg-file
  • Loading branch information
JeremyMeissner authored Apr 8, 2022
commit cd6bb0bf228bc9a452ba7fd6d22a0c7f14d243ff
3 changes: 3 additions & 0 deletions FreeFrame/FreeFrame.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@
<ItemGroup>
<Folder Include="Tests\" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="if not exist $(ProjectDir)$(OutDir)Shaders mkdir $(ProjectDir)$(OutDir)Shaders&#xD;&#xA;copy &quot;$(ProjectDir)Shaders\*&quot; &quot;$(ProjectDir)$(OutDir)Shaders\&quot;" />
</Target>

</Project>
11 changes: 10 additions & 1 deletion FreeFrame/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
using OpenTK.Graphics;
using FreeFrame.Components;
using FreeFrame.Components.Shapes;
using OpenTK.Windowing.Common;
using OpenTK.Windowing.Desktop;

namespace FreeFrame
{
Expand All @@ -11,8 +13,15 @@ class Program
static void Main()
{
List<Shape> shapes = Importer.ImportFromFile("test.svg");

shapes.ForEach(shape => Console.WriteLine(shape));

NativeWindowSettings nativeWindowSettings = new()
{
Size = new Vector2i(600, 600),
Title = "FreeFrame"
};
using Window window = new(GameWindowSettings.Default, nativeWindowSettings);
window.Run();
}
}
}
You are viewing a condensed version of this merge commit. You can view the full changes here.