Browse Source

Renaming project and namespace to SharpGLTF

Vicente Penades Armengot 6 years ago
parent
commit
1921f32c83
68 changed files with 73 additions and 73 deletions
  1. 2 2
      README.md
  2. 1 1
      SharpGLTF.ruleset
  3. 3 3
      SharpGLTF.sln
  4. 1 1
      build/SharpGLTF.CodeGen/CodeGen/CodeEmitUtils.cs
  5. 1 1
      build/SharpGLTF.CodeGen/CodeGen/EmitCSharp.cs
  6. 3 3
      build/SharpGLTF.CodeGen/Constants.cs
  7. 1 1
      build/SharpGLTF.CodeGen/Program.cs
  8. 1 1
      build/SharpGLTF.CodeGen/SchemaDownload.cs
  9. 1 1
      build/SharpGLTF.CodeGen/SchemaReflection/SchemaTypes.cs
  10. 1 1
      build/SharpGLTF.CodeGen/SchemaReflection/SchemaTypesContext.cs
  11. 1 1
      build/SharpGLTF.CodeGen/SchemaReflection/SchemaTypesReader.cs
  12. 0 0
      build/SharpGLTF.CodeGen/SharpGLTF.CodeGen.csproj
  13. 1 1
      src/SharpGLTF.DOM/Collections/ChildrenCollection.cs
  14. 1 1
      src/SharpGLTF.DOM/Collections/IChildOf.cs
  15. 1 1
      src/SharpGLTF.DOM/Collections/LinqDictionary.cs
  16. 1 1
      src/SharpGLTF.DOM/Collections/ReferenceComparer.cs
  17. 1 1
      src/SharpGLTF.DOM/Collections/SingleChild.cs
  18. 1 1
      src/SharpGLTF.DOM/Debug/DebugViews.cs
  19. 1 1
      src/SharpGLTF.DOM/Debug/Guard.cs
  20. 1 1
      src/SharpGLTF.DOM/Geometry/MemoryAccessor.cs
  21. 1 1
      src/SharpGLTF.DOM/Geometry/MeshPrimitive.cs
  22. 1 1
      src/SharpGLTF.DOM/IO/JsonSerializable.cs
  23. 1 1
      src/SharpGLTF.DOM/IO/Serialization.cs
  24. 1 1
      src/SharpGLTF.DOM/Memory/Arrays.cs
  25. 1 1
      src/SharpGLTF.DOM/Memory/FloatingArrays.cs
  26. 1 1
      src/SharpGLTF.DOM/Memory/IntegerArrays.cs
  27. 0 0
      src/SharpGLTF.DOM/Memory/README.md
  28. 1 1
      src/SharpGLTF.DOM/Memory/SparseArrays.cs
  29. 1 1
      src/SharpGLTF.DOM/ModelException.cs
  30. 1 1
      src/SharpGLTF.DOM/README.md
  31. 1 1
      src/SharpGLTF.DOM/Schema2/Generated/ext.Unlit.g.cs
  32. 1 1
      src/SharpGLTF.DOM/Schema2/Generated/ext.pbrSpecularGlossiness.g.cs
  33. 1 1
      src/SharpGLTF.DOM/Schema2/Generated/gltf.g.cs
  34. 1 1
      src/SharpGLTF.DOM/Schema2/glb.cs
  35. 1 1
      src/SharpGLTF.DOM/Schema2/gltf.AccessorSparse.cs
  36. 1 1
      src/SharpGLTF.DOM/Schema2/gltf.Accessors.cs
  37. 1 1
      src/SharpGLTF.DOM/Schema2/gltf.Animations.cs
  38. 2 2
      src/SharpGLTF.DOM/Schema2/gltf.Asset.cs
  39. 1 1
      src/SharpGLTF.DOM/Schema2/gltf.Buffer.cs
  40. 1 1
      src/SharpGLTF.DOM/Schema2/gltf.BufferView.cs
  41. 1 1
      src/SharpGLTF.DOM/Schema2/gltf.Camera.cs
  42. 1 1
      src/SharpGLTF.DOM/Schema2/gltf.Extensions.cs
  43. 1 1
      src/SharpGLTF.DOM/Schema2/gltf.LogicalChildOfRoot.cs
  44. 1 1
      src/SharpGLTF.DOM/Schema2/gltf.Materials.cs
  45. 1 1
      src/SharpGLTF.DOM/Schema2/gltf.Mesh.cs
  46. 1 1
      src/SharpGLTF.DOM/Schema2/gltf.MeshPrimitive.cs
  47. 1 1
      src/SharpGLTF.DOM/Schema2/gltf.Property.cs
  48. 1 1
      src/SharpGLTF.DOM/Schema2/gltf.Root.cs
  49. 1 1
      src/SharpGLTF.DOM/Schema2/gltf.Scene.cs
  50. 1 1
      src/SharpGLTF.DOM/Schema2/gltf.Serialization.cs
  51. 1 1
      src/SharpGLTF.DOM/Schema2/gltf.Skin.cs
  52. 1 1
      src/SharpGLTF.DOM/Schema2/gltf.Textures.cs
  53. 2 2
      src/SharpGLTF.DOM/SharpGLTF.DOM.csproj
  54. 1 1
      src/SharpGLTF.DOM/Transforms/AffineTransform.cs
  55. 1 1
      src/SharpGLTF.DOM/Transforms/BoundingBox.cs
  56. 1 1
      src/SharpGLTF.DOM/_Extensions.cs
  57. 1 1
      tests/SharpGLTF.Tests/Collections/ChildrenCollectionTests.cs
  58. 1 1
      tests/SharpGLTF.Tests/Geometry/CreateMeshTests.cs
  59. 1 1
      tests/SharpGLTF.Tests/Geometry/LoadMeshTests.cs
  60. 1 1
      tests/SharpGLTF.Tests/GltfUtils.cs
  61. 1 1
      tests/SharpGLTF.Tests/Memory/MemoryArrayTests.cs
  62. 1 1
      tests/SharpGLTF.Tests/Schema2/AccessorSparseTests.cs
  63. 1 1
      tests/SharpGLTF.Tests/Schema2/CreateModelTests.cs
  64. 1 1
      tests/SharpGLTF.Tests/Schema2/LoadModelTests.cs
  65. 2 2
      tests/SharpGLTF.Tests/SharpGLTF.Tests.csproj
  66. 1 1
      tests/SharpGLTF.Tests/TestFiles.cs
  67. 1 1
      tests/SharpGLTF.Tests/TestUtils.cs
  68. 0 0
      tests/SharpGLTF.Tests/readme.md

+ 2 - 2
README.md

@@ -1,6 +1,6 @@
-# glTF2Sharp
+# SharpGLTF
 
 
-glTF2Sharp is a NetStandard 2.0, C# library designed to parse and create [Khronos Group glTF2](https://github.com/KhronosGroup/glTF) files.
+SharpGLTF is a NetStandard 2.0, C# library designed to parse and create [Khronos Group glTF2](https://github.com/KhronosGroup/glTF) files.
 
 
 The current status of the library is preview alpha, but, for some cases it is probably fully usable.
 The current status of the library is preview alpha, but, for some cases it is probably fully usable.
 
 

+ 1 - 1
glTF2Sharp.ruleset → SharpGLTF.ruleset

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
 <?xml version="1.0" encoding="utf-8"?>
-<RuleSet Name="glTF2Sharp" ToolsVersion="15.0">
+<RuleSet Name="SharpGLTF" ToolsVersion="15.0">
   <Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
   <Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
     <Rule Id="AD0001" Action="None" />
     <Rule Id="AD0001" Action="None" />
     <Rule Id="SA1008" Action="None" />
     <Rule Id="SA1008" Action="None" />

+ 3 - 3
glTF2Sharp.sln → SharpGLTF.sln

@@ -13,11 +13,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{072B725F-773
 EndProject
 EndProject
 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{0CBF510D-D836-40BA-95EC-E93FDBB90632}"
 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{0CBF510D-D836-40BA-95EC-E93FDBB90632}"
 EndProject
 EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "glTF2Sharp.CodeGen", "src\glTF2Sharp.CodeGen\glTF2Sharp.CodeGen.csproj", "{E15F8DCC-987D-4FA8-B7B0-1F0614DC93DD}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SharpGLTF.CodeGen", "build\SharpGLTF.CodeGen\SharpGLTF.CodeGen.csproj", "{E15F8DCC-987D-4FA8-B7B0-1F0614DC93DD}"
 EndProject
 EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "glTF2Sharp.DOM", "src\glTF2Sharp.DOM\glTF2Sharp.DOM.csproj", "{B1DA4F42-AB6A-4021-9989-674B1394E8A2}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SharpGLTF.DOM", "src\SharpGLTF.DOM\SharpGLTF.DOM.csproj", "{B1DA4F42-AB6A-4021-9989-674B1394E8A2}"
 EndProject
 EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "glTF2Sharp.Tests", "src\glTF2Sharp.Tests\glTF2Sharp.Tests.csproj", "{4FCBB910-67D4-4628-9B2B-F5F2C8D92257}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SharpGLTF.Tests", "tests\SharpGLTF.Tests\SharpGLTF.Tests.csproj", "{4FCBB910-67D4-4628-9B2B-F5F2C8D92257}"
 EndProject
 EndProject
 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{D7D51F42-D08C-4DDA-88DA-AF008F10B644}"
 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{D7D51F42-D08C-4DDA-88DA-AF008F10B644}"
 EndProject
 EndProject

+ 1 - 1
src/glTF2Sharp.CodeGen/CodeGen/CodeEmitUtils.cs → build/SharpGLTF.CodeGen/CodeGen/CodeEmitUtils.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.CodeGen
+namespace SharpGLTF.CodeGen
 {
 {
     /// <summary>
     /// <summary>
     /// Text processing extensions to facilitate source code emission.
     /// Text processing extensions to facilitate source code emission.

+ 1 - 1
src/glTF2Sharp.CodeGen/CodeGen/EmitCSharp.cs → build/SharpGLTF.CodeGen/CodeGen/EmitCSharp.cs

@@ -6,7 +6,7 @@ using System.Text;
 
 
 using static System.FormattableString;
 using static System.FormattableString;
 
 
-namespace glTF2Sharp.CodeGen
+namespace SharpGLTF.CodeGen
 {
 {
     using SchemaReflection;
     using SchemaReflection;
 
 

+ 3 - 3
src/glTF2Sharp.CodeGen/Constants.cs → build/SharpGLTF.CodeGen/Constants.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp
+namespace SharpGLTF
 {
 {
     static class Constants
     static class Constants
     {
     {
@@ -33,12 +33,12 @@ namespace glTF2Sharp
         /// <summary>
         /// <summary>
         /// directory within the solution where the generated code is emitted
         /// directory within the solution where the generated code is emitted
         /// </summary>
         /// </summary>
-        public static string TargetProjectDirectory => "glTF2Sharp.DOM\\Schema2\\Generated";
+        public static string TargetProjectDirectory => "src\\SharpGLTF.DOM\\Schema2\\Generated";
 
 
         /// <summary>
         /// <summary>
         /// namespace of the emitted generated code
         /// namespace of the emitted generated code
         /// </summary>
         /// </summary>
-        public static string OutputNamespace => "glTF2Sharp.Schema2";
+        public static string OutputNamespace => "SharpGLTF.Schema2";
 
 
     }
     }
 }
 }

+ 1 - 1
src/glTF2Sharp.CodeGen/Program.cs → build/SharpGLTF.CodeGen/Program.cs

@@ -6,7 +6,7 @@ using System.Text;
 using System.Threading.Tasks;
 using System.Threading.Tasks;
 using NJsonSchema.References;
 using NJsonSchema.References;
 
 
-namespace glTF2Sharp
+namespace SharpGLTF
 {
 {
     using CodeGen;
     using CodeGen;
     using SchemaReflection;    
     using SchemaReflection;    

+ 1 - 1
src/glTF2Sharp.CodeGen/SchemaDownload.cs → build/SharpGLTF.CodeGen/SchemaDownload.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp
+namespace SharpGLTF
 {
 {
     /// <summary>
     /// <summary>
     /// Utility class to download the gltf2 schema from github
     /// Utility class to download the gltf2 schema from github

+ 1 - 1
src/glTF2Sharp.CodeGen/SchemaReflection/SchemaTypes.cs → build/SharpGLTF.CodeGen/SchemaReflection/SchemaTypes.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Reflection;
 using System.Reflection;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.SchemaReflection
+namespace SharpGLTF.SchemaReflection
 {
 {
     /// <summary>
     /// <summary>
     /// Base class for all schema Types
     /// Base class for all schema Types

+ 1 - 1
src/glTF2Sharp.CodeGen/SchemaReflection/SchemaTypesContext.cs → build/SharpGLTF.CodeGen/SchemaReflection/SchemaTypesContext.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Reflection;
 using System.Reflection;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.SchemaReflection
+namespace SharpGLTF.SchemaReflection
 {
 {
     public partial class SchemaType
     public partial class SchemaType
     {
     {

+ 1 - 1
src/glTF2Sharp.CodeGen/SchemaReflection/SchemaTypesReader.cs → build/SharpGLTF.CodeGen/SchemaReflection/SchemaTypesReader.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Reflection;
 using System.Reflection;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.SchemaReflection
+namespace SharpGLTF.SchemaReflection
 {
 {
     /// <summary>
     /// <summary>
     /// Utility class that reads a json schema and creates a <see cref="SchemaType.Context"/>
     /// Utility class that reads a json schema and creates a <see cref="SchemaType.Context"/>

+ 0 - 0
src/glTF2Sharp.CodeGen/glTF2Sharp.CodeGen.csproj → build/SharpGLTF.CodeGen/SharpGLTF.CodeGen.csproj


+ 1 - 1
src/glTF2Sharp.DOM/Collections/ChildrenCollection.cs → src/SharpGLTF.DOM/Collections/ChildrenCollection.cs

@@ -4,7 +4,7 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Linq;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Collections
+namespace SharpGLTF.Collections
 {
 {
     [System.Diagnostics.DebuggerDisplay("{Count}")]
     [System.Diagnostics.DebuggerDisplay("{Count}")]
     [System.Diagnostics.DebuggerTypeProxy(typeof(Debug._CollectionDebugView<>))]
     [System.Diagnostics.DebuggerTypeProxy(typeof(Debug._CollectionDebugView<>))]

+ 1 - 1
src/glTF2Sharp.DOM/Collections/IChildOf.cs → src/SharpGLTF.DOM/Collections/IChildOf.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Collections
+namespace SharpGLTF.Collections
 {
 {
     interface IChildOf<TParent>
     interface IChildOf<TParent>
         where TParent : class
         where TParent : class

+ 1 - 1
src/glTF2Sharp.DOM/Collections/LinqDictionary.cs → src/SharpGLTF.DOM/Collections/LinqDictionary.cs

@@ -4,7 +4,7 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Linq;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Collections
+namespace SharpGLTF.Collections
 {
 {
     /// <summary>
     /// <summary>
     /// Wraps a standard dictionary, but performs a transform in the value
     /// Wraps a standard dictionary, but performs a transform in the value

+ 1 - 1
src/glTF2Sharp.DOM/Collections/ReferenceComparer.cs → src/SharpGLTF.DOM/Collections/ReferenceComparer.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using System.Runtime.CompilerServices;
 using System.Runtime.CompilerServices;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Collections
+namespace SharpGLTF.Collections
 {
 {
     /// <summary>
     /// <summary>
     /// this class is used to compare two T class references,
     /// this class is used to compare two T class references,

+ 1 - 1
src/glTF2Sharp.DOM/Collections/SingleChild.cs → src/SharpGLTF.DOM/Collections/SingleChild.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Collections
+namespace SharpGLTF.Collections
 {
 {
     sealed class SingleChild<T, TParent>
     sealed class SingleChild<T, TParent>
         where T : class, IChildOf<TParent>
         where T : class, IChildOf<TParent>

+ 1 - 1
src/glTF2Sharp.DOM/Debug/DebugViews.cs → src/SharpGLTF.DOM/Debug/DebugViews.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Numerics;
 using System.Numerics;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Debug
+namespace SharpGLTF.Debug
 {
 {
     /// <summary>
     /// <summary>
     /// class to visualize collection items during debug
     /// class to visualize collection items during debug

+ 1 - 1
src/glTF2Sharp.DOM/Debug/Guard.cs → src/SharpGLTF.DOM/Debug/Guard.cs

@@ -4,7 +4,7 @@ using System.Diagnostics;
 using System.Linq;
 using System.Linq;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp
+namespace SharpGLTF
 {
 {
     [DebuggerStepThrough]
     [DebuggerStepThrough]
     internal static class Guard
     internal static class Guard

+ 1 - 1
src/glTF2Sharp.DOM/Geometry/MemoryAccessor.cs → src/SharpGLTF.DOM/Geometry/MemoryAccessor.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Numerics;
 using System.Numerics;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Geometry
+namespace SharpGLTF.Geometry
 {
 {
     using Memory;
     using Memory;
 
 

+ 1 - 1
src/glTF2Sharp.DOM/Geometry/MeshPrimitive.cs → src/SharpGLTF.DOM/Geometry/MeshPrimitive.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Numerics;
 using System.Numerics;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Geometry
+namespace SharpGLTF.Geometry
 {
 {
     abstract class NamedObject
     abstract class NamedObject
     {
     {

+ 1 - 1
src/glTF2Sharp.DOM/IO/JsonSerializable.cs → src/SharpGLTF.DOM/IO/JsonSerializable.cs

@@ -4,7 +4,7 @@ using System.Text;
 
 
 using Newtonsoft.Json;
 using Newtonsoft.Json;
 
 
-namespace glTF2Sharp.IO
+namespace SharpGLTF.IO
 {
 {
     public abstract class JsonSerializable
     public abstract class JsonSerializable
     {
     {

+ 1 - 1
src/glTF2Sharp.DOM/IO/Serialization.cs → src/SharpGLTF.DOM/IO/Serialization.cs

@@ -4,7 +4,7 @@ using System.Text;
 
 
 using Newtonsoft.Json;
 using Newtonsoft.Json;
 
 
-namespace glTF2Sharp.IO
+namespace SharpGLTF.IO
 {
 {
     static class _JSonSerializationExtensions
     static class _JSonSerializationExtensions
     {
     {

+ 1 - 1
src/glTF2Sharp.DOM/Memory/Arrays.cs → src/SharpGLTF.DOM/Memory/Arrays.cs

@@ -4,7 +4,7 @@ using System.Collections.Generic;
 using System.Numerics;
 using System.Numerics;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Memory
+namespace SharpGLTF.Memory
 {
 {
     public interface IEncodedArray<T> : IReadOnlyCollection<T>
     public interface IEncodedArray<T> : IReadOnlyCollection<T>
         where T : unmanaged
         where T : unmanaged

+ 1 - 1
src/glTF2Sharp.DOM/Memory/FloatingArrays.cs → src/SharpGLTF.DOM/Memory/FloatingArrays.cs

@@ -5,7 +5,7 @@ using System.Numerics;
 using System.Collections;
 using System.Collections;
 using System.Linq;
 using System.Linq;
 
 
-namespace glTF2Sharp.Memory
+namespace SharpGLTF.Memory
 {
 {
     using BYTES = ArraySegment<Byte>;
     using BYTES = ArraySegment<Byte>;
 
 

+ 1 - 1
src/glTF2Sharp.DOM/Memory/IntegerArrays.cs → src/SharpGLTF.DOM/Memory/IntegerArrays.cs

@@ -4,7 +4,7 @@ using System.Text;
 using System.Collections;
 using System.Collections;
 using System.Linq;
 using System.Linq;
 
 
-namespace glTF2Sharp.Memory
+namespace SharpGLTF.Memory
 {
 {
     using BYTES = ArraySegment<Byte>;
     using BYTES = ArraySegment<Byte>;
 
 

+ 0 - 0
src/glTF2Sharp.DOM/Memory/README.md → src/SharpGLTF.DOM/Memory/README.md


+ 1 - 1
src/glTF2Sharp.DOM/Memory/SparseArrays.cs → src/SharpGLTF.DOM/Memory/SparseArrays.cs

@@ -4,7 +4,7 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Linq;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Memory
+namespace SharpGLTF.Memory
 {
 {
     /// <summary>
     /// <summary>
     /// Special accessor to wrap over a base accessor and a sparse accessor
     /// Special accessor to wrap over a base accessor and a sparse accessor

+ 1 - 1
src/glTF2Sharp.DOM/ModelException.cs → src/SharpGLTF.DOM/ModelException.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using System.Reflection;
 using System.Reflection;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp
+namespace SharpGLTF
 {
 {
     using IO;
     using IO;
 
 

+ 1 - 1
src/glTF2Sharp.DOM/README.md → src/SharpGLTF.DOM/README.md

@@ -2,7 +2,7 @@
 
 
 #### Development
 #### Development
 
 
-The bulk of the code is generated from the schema using the glTF2Sharp.CodeGen tools.
+The bulk of the code is generated from the schema using the SharpGLTF.CodeGen tools.
 
 
 All generated classes are declared by default as non public, and its fields private.
 All generated classes are declared by default as non public, and its fields private.
 The public API functionality is provided with hand coded partial classes. Since this
 The public API functionality is provided with hand coded partial classes. Since this

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/Generated/ext.Unlit.g.cs → src/SharpGLTF.DOM/Schema2/Generated/ext.Unlit.g.cs

@@ -21,7 +21,7 @@ using System.Text;
 using System.Numerics;
 using System.Numerics;
 using Newtonsoft.Json;
 using Newtonsoft.Json;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
 	using Collections;
 	using Collections;
 
 

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/Generated/ext.pbrSpecularGlossiness.g.cs → src/SharpGLTF.DOM/Schema2/Generated/ext.pbrSpecularGlossiness.g.cs

@@ -21,7 +21,7 @@ using System.Text;
 using System.Numerics;
 using System.Numerics;
 using Newtonsoft.Json;
 using Newtonsoft.Json;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
 	using Collections;
 	using Collections;
 
 

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/Generated/gltf.g.cs → src/SharpGLTF.DOM/Schema2/Generated/gltf.g.cs

@@ -21,7 +21,7 @@ using System.Text;
 using System.Numerics;
 using System.Numerics;
 using Newtonsoft.Json;
 using Newtonsoft.Json;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
 	using Collections;
 	using Collections;
 
 

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/glb.cs → src/SharpGLTF.DOM/Schema2/glb.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using System.IO;
 using System.IO;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     using ROOT = ModelRoot;
     using ROOT = ModelRoot;
 
 

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/gltf.AccessorSparse.cs → src/SharpGLTF.DOM/Schema2/gltf.AccessorSparse.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using System.Numerics;
 using System.Numerics;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     // TODO:
     // TODO:
     // AccessorSparse is a single child of an Accessor
     // AccessorSparse is a single child of an Accessor

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/gltf.Accessors.cs → src/SharpGLTF.DOM/Schema2/gltf.Accessors.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Numerics;
 using System.Numerics;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     using ROOT = ModelRoot;
     using ROOT = ModelRoot;
 
 

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/gltf.Animations.cs → src/SharpGLTF.DOM/Schema2/gltf.Animations.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using System.Text;
 using System.Text;
 using System.Linq;
 using System.Linq;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     using Collections;
     using Collections;
 
 

+ 2 - 2
src/glTF2Sharp.DOM/Schema2/gltf.Asset.cs → src/SharpGLTF.DOM/Schema2/gltf.Asset.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Linq;
 using System.Linq;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     [System.Diagnostics.DebuggerDisplay("{Version} {MinVersion} {Generator} {Copyright}")]
     [System.Diagnostics.DebuggerDisplay("{Version} {MinVersion} {Generator} {Copyright}")]
     public partial class Asset
     public partial class Asset
@@ -13,7 +13,7 @@ namespace glTF2Sharp.Schema2
         {
         {
             return new Asset()
             return new Asset()
             {
             {
-                _generator = "glTF2Sharp",
+                _generator = "SharpGLTF",
                 _copyright = copyright,
                 _copyright = copyright,
                 _version = MAXVERSION.ToString(),
                 _version = MAXVERSION.ToString(),
                 _minVersion = MINVERSION.ToString()
                 _minVersion = MINVERSION.ToString()

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/gltf.Buffer.cs → src/SharpGLTF.DOM/Schema2/gltf.Buffer.cs

@@ -5,7 +5,7 @@ using System.Linq;
 using System.Numerics;
 using System.Numerics;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     [System.Diagnostics.DebuggerDisplay("Buffer[{LogicalIndex}] {Name} Bytes:{_Data.Length}")]
     [System.Diagnostics.DebuggerDisplay("Buffer[{LogicalIndex}] {Name} Bytes:{_Data.Length}")]
     public partial class Buffer
     public partial class Buffer

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/gltf.BufferView.cs → src/SharpGLTF.DOM/Schema2/gltf.BufferView.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Numerics;
 using System.Numerics;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     using BYTES = ArraySegment<Byte>;
     using BYTES = ArraySegment<Byte>;
 
 

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/gltf.Camera.cs → src/SharpGLTF.DOM/Schema2/gltf.Camera.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     [System.Diagnostics.DebuggerDisplay("Camera[{LogicalIndex}] {Name}")]
     [System.Diagnostics.DebuggerDisplay("Camera[{LogicalIndex}] {Name}")]
     public partial class Camera
     public partial class Camera

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/gltf.Extensions.cs → src/SharpGLTF.DOM/Schema2/gltf.Extensions.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     using IO;
     using IO;
 
 

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/gltf.LogicalChildOfRoot.cs → src/SharpGLTF.DOM/Schema2/gltf.LogicalChildOfRoot.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Linq;
 using System.Linq;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     using Collections;
     using Collections;
 
 

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/gltf.Materials.cs → src/SharpGLTF.DOM/Schema2/gltf.Materials.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Numerics;
 using System.Numerics;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     [System.Diagnostics.DebuggerDisplay("Material[{LogicalIndex}] {Name}")]
     [System.Diagnostics.DebuggerDisplay("Material[{LogicalIndex}] {Name}")]
     public partial class Material
     public partial class Material

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/gltf.Mesh.cs → src/SharpGLTF.DOM/Schema2/gltf.Mesh.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Numerics;
 using System.Numerics;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     using Collections;
     using Collections;
 
 

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/gltf.MeshPrimitive.cs → src/SharpGLTF.DOM/Schema2/gltf.MeshPrimitive.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Numerics;
 using System.Numerics;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     using Collections;
     using Collections;
 
 

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/gltf.Property.cs → src/SharpGLTF.DOM/Schema2/gltf.Property.cs

@@ -4,7 +4,7 @@ using System.Linq;
 
 
 using Newtonsoft.Json;
 using Newtonsoft.Json;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     using IO;
     using IO;
 
 

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/gltf.Root.cs → src/SharpGLTF.DOM/Schema2/gltf.Root.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Linq;
 using System.Linq;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     using Collections;
     using Collections;
 
 

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/gltf.Scene.cs → src/SharpGLTF.DOM/Schema2/gltf.Scene.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Numerics;
 using System.Numerics;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     public interface IVisualNodeContainer
     public interface IVisualNodeContainer
     {
     {

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/gltf.Serialization.cs → src/SharpGLTF.DOM/Schema2/gltf.Serialization.cs

@@ -6,7 +6,7 @@ using System.Text;
 
 
 using Newtonsoft.Json;
 using Newtonsoft.Json;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     using ROOT = ModelRoot;
     using ROOT = ModelRoot;
 
 

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/gltf.Skin.cs → src/SharpGLTF.DOM/Schema2/gltf.Skin.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Numerics;
 using System.Numerics;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     using Collections;
     using Collections;
 
 

+ 1 - 1
src/glTF2Sharp.DOM/Schema2/gltf.Textures.cs → src/SharpGLTF.DOM/Schema2/gltf.Textures.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Numerics;
 using System.Numerics;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     [System.Diagnostics.DebuggerDisplay("Texture[{LogicalIndex}] {Name}")]
     [System.Diagnostics.DebuggerDisplay("Texture[{LogicalIndex}] {Name}")]
     internal partial class TextureInfo
     internal partial class TextureInfo

+ 2 - 2
src/glTF2Sharp.DOM/glTF2Sharp.DOM.csproj → src/SharpGLTF.DOM/SharpGLTF.DOM.csproj

@@ -2,7 +2,7 @@
 
 
   <PropertyGroup>    
   <PropertyGroup>    
     <TargetFramework>netstandard2.0</TargetFramework>
     <TargetFramework>netstandard2.0</TargetFramework>
-    <RootNamespace>glTF2Sharp</RootNamespace>
+    <RootNamespace>SharpGLTF</RootNamespace>
     <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
     <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
     <PackageLicenseUrl>https://raw.githubusercontent.com/vpenades/glTF2Sharp/master/LICENSE</PackageLicenseUrl>
     <PackageLicenseUrl>https://raw.githubusercontent.com/vpenades/glTF2Sharp/master/LICENSE</PackageLicenseUrl>
     <PackageProjectUrl>https://github.com/vpenades/glTF2Sharp</PackageProjectUrl>
     <PackageProjectUrl>https://github.com/vpenades/glTF2Sharp</PackageProjectUrl>
@@ -18,7 +18,7 @@
 
 
   <ItemGroup>
   <ItemGroup>
     <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
     <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
-      <_Parameter1>glTF2Sharp.Tests</_Parameter1>
+      <_Parameter1>SharpGLTF.Tests</_Parameter1>
     </AssemblyAttribute>    
     </AssemblyAttribute>    
   </ItemGroup>
   </ItemGroup>
 
 

+ 1 - 1
src/glTF2Sharp.DOM/Transforms/AffineTransform.cs → src/SharpGLTF.DOM/Transforms/AffineTransform.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using System.Numerics;
 using System.Numerics;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp
+namespace SharpGLTF
 {
 {
     public struct AffineTransform
     public struct AffineTransform
     {
     {

+ 1 - 1
src/glTF2Sharp.DOM/Transforms/BoundingBox.cs → src/SharpGLTF.DOM/Transforms/BoundingBox.cs

@@ -4,7 +4,7 @@ using System.Linq;
 using System.Numerics;
 using System.Numerics;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp
+namespace SharpGLTF
 {
 {
     public struct BoundingBox3
     public struct BoundingBox3
     {
     {

+ 1 - 1
src/glTF2Sharp.DOM/_Extensions.cs → src/SharpGLTF.DOM/_Extensions.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using System.Text;
 using System.Text;
 using System.Numerics;
 using System.Numerics;
 
 
-namespace glTF2Sharp
+namespace SharpGLTF
 {
 {
     using Schema2;
     using Schema2;
 
 

+ 1 - 1
src/glTF2Sharp.Tests/Collections/ChildrenCollectionTests.cs → tests/SharpGLTF.Tests/Collections/ChildrenCollectionTests.cs

@@ -4,7 +4,7 @@ using System.Text;
 
 
 using NUnit.Framework;
 using NUnit.Framework;
 
 
-namespace glTF2Sharp.Collections
+namespace SharpGLTF.Collections
 {
 {
     [TestFixture]
     [TestFixture]
     public class ChildrenCollectionTests
     public class ChildrenCollectionTests

+ 1 - 1
src/glTF2Sharp.Tests/Geometry/CreateMeshTests.cs → tests/SharpGLTF.Tests/Geometry/CreateMeshTests.cs

@@ -5,7 +5,7 @@ using System.Text;
 
 
 using NUnit.Framework;
 using NUnit.Framework;
 
 
-namespace glTF2Sharp.Geometry
+namespace SharpGLTF.Geometry
 {
 {
     using Memory;
     using Memory;
 
 

+ 1 - 1
src/glTF2Sharp.Tests/Geometry/LoadMeshTests.cs → tests/SharpGLTF.Tests/Geometry/LoadMeshTests.cs

@@ -4,7 +4,7 @@ using System.Text;
 
 
 using NUnit.Framework;
 using NUnit.Framework;
 
 
-namespace glTF2Sharp.Geometry
+namespace SharpGLTF.Geometry
 {
 {
     [TestFixture]
     [TestFixture]
     public class LoadMeshTests
     public class LoadMeshTests

+ 1 - 1
src/glTF2Sharp.Tests/GltfUtils.cs → tests/SharpGLTF.Tests/GltfUtils.cs

@@ -4,7 +4,7 @@ using System.Text;
 
 
 using NUnit.Framework;
 using NUnit.Framework;
 
 
-namespace glTF2Sharp
+namespace SharpGLTF
 {    
 {    
     using Schema2;
     using Schema2;
 
 

+ 1 - 1
src/glTF2Sharp.Tests/Memory/MemoryArrayTests.cs → tests/SharpGLTF.Tests/Memory/MemoryArrayTests.cs

@@ -5,7 +5,7 @@ using System.Text;
 
 
 using NUnit.Framework;
 using NUnit.Framework;
 
 
-namespace glTF2Sharp.Memory
+namespace SharpGLTF.Memory
 {
 {
     [TestFixture]
     [TestFixture]
     public class MemoryArrayTests
     public class MemoryArrayTests

+ 1 - 1
src/glTF2Sharp.Tests/Schema2/AccessorSparseTests.cs → tests/SharpGLTF.Tests/Schema2/AccessorSparseTests.cs

@@ -5,7 +5,7 @@ using System.Text;
 
 
 using NUnit.Framework;
 using NUnit.Framework;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     [TestFixture]
     [TestFixture]
     public class AccessorSparseTests
     public class AccessorSparseTests

+ 1 - 1
src/glTF2Sharp.Tests/Schema2/CreateModelTests.cs → tests/SharpGLTF.Tests/Schema2/CreateModelTests.cs

@@ -4,7 +4,7 @@ using System.Text;
 
 
 using NUnit.Framework;
 using NUnit.Framework;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     [TestFixture]
     [TestFixture]
     public class CreateModelTests
     public class CreateModelTests

+ 1 - 1
src/glTF2Sharp.Tests/Schema2/LoadModelTests.cs → tests/SharpGLTF.Tests/Schema2/LoadModelTests.cs

@@ -4,7 +4,7 @@ using System.Text;
 
 
 using NUnit.Framework;
 using NUnit.Framework;
 
 
-namespace glTF2Sharp.Schema2
+namespace SharpGLTF.Schema2
 {
 {
     [TestFixture]
     [TestFixture]
     public class LoadModelTests
     public class LoadModelTests

+ 2 - 2
src/glTF2Sharp.Tests/glTF2Sharp.Tests.csproj → tests/SharpGLTF.Tests/SharpGLTF.Tests.csproj

@@ -16,8 +16,8 @@
   </ItemGroup>
   </ItemGroup>
 
 
   <ItemGroup>
   <ItemGroup>
-    <ProjectReference Include="..\glTF2Sharp.DOM\glTF2Sharp.DOM.csproj" />
-    <ProjectReference Include="..\MeshBuffers\MeshBuffers.csproj" />
+    <ProjectReference Include="..\..\src\SharpGLTF.DOM\SharpGLTF.DOM.csproj" />
+    <ProjectReference Include="..\..\src\MeshBuffers\MeshBuffers.csproj" />
   </ItemGroup>
   </ItemGroup>
 
 
 </Project>
 </Project>

+ 1 - 1
src/glTF2Sharp.Tests/TestFiles.cs → tests/SharpGLTF.Tests/TestFiles.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Linq;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp
+namespace SharpGLTF
 {
 {
     /// <summary>
     /// <summary>
     /// Encapsulates the access to test files.
     /// Encapsulates the access to test files.

+ 1 - 1
src/glTF2Sharp.Tests/TestUtils.cs → tests/SharpGLTF.Tests/TestUtils.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Text;
 using System.Text;
 
 
-namespace glTF2Sharp
+namespace SharpGLTF
 {
 {
     static class TestUtils
     static class TestUtils
     {
     {

+ 0 - 0
src/glTF2Sharp.Tests/readme.md → tests/SharpGLTF.Tests/readme.md