Compare commits

...
4 Commits
Author SHA1 Message Date
themixedupstuff d124ec826e Add REFUEL_TARGET_FRAMEWORKS to the CSPROJ 2026-11-01 14:31:11 +03:00
JoeTwizzle 3087ea546d Update submodule to fix broken schema 2026-10-25 19:12:49 +01:00
JoeTwizzle 808825a33d Fix gltf parsing from wrong offset 2026-10-25 17:52:31 +01:00
themixedupstuff 1f3d347285 Add LICENSE.md 2026-10-24 20:53:55 +03:00
4 changed files with 36 additions and 3 deletions

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2025 Halit Utku Maden, et al.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+1 -1
View File
@@ -189,7 +189,7 @@ namespace ReFuel.Gltf
} }
else else
{ {
str.Seek(0, SeekOrigin.Begin); wrapper.Seek(0, SeekOrigin.Begin);
return OpenJson(wrapper); return OpenJson(wrapper);
} }
} }
+13 -1
View File
@@ -1,10 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFrameworks>net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<Version>0.0.1</Version> <Version>0.0.1</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup> </PropertyGroup>
<!--
This section allows the target frameworks to be specified at build time using the environment variable
REFUEL_TARGET_FRAMEWORKS, which is defined by the NUGET compiling docker image.
-->
<PropertyGroup Condition="$(REFUEL_TARGET_FRAMEWORKS) == ''">
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="$(REFUEL_TARGET_FRAMEWORKS) != ''">
<TargetFrameworks>$(REFUEL_GLTF_TARGET_FRAMEWORKS)</TargetFrameworks>
</PropertyGroup>
</Project> </Project>