Serialize Mesh and MeshRenderer in scene + fixed Light serialization

This commit is contained in:
Simon Lübeß
2023-01-08 19:31:01 +01:00
parent b5ca86d8de
commit e38373dccf
8 changed files with 204 additions and 42 deletions
+2
View File
@@ -1,9 +1,11 @@
using Bon;
using System;
namespace GlitchyEngine.Math
{
/// Represents a four component color with 8 bit per channel
[CRepr]
[BonTarget]
public struct Color
{
// from DirectXColors.h
+2
View File
@@ -1,3 +1,4 @@
using Bon;
using System;
using internal GlitchyEngine.Math;
@@ -6,6 +7,7 @@ namespace GlitchyEngine.Math
{
/// Represents an RGB color.
[CRepr]
[BonTarget]
public struct ColorRGB
{
/**