mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Serialize Mesh and MeshRenderer in scene + fixed Light serialization
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
{
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user