mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Shader like vectors for C# Scripting
This commit is contained in:
@@ -5,11 +5,11 @@ namespace GlitchyEngine;
|
||||
|
||||
public class Transform : Component
|
||||
{
|
||||
public Vector3 Translation
|
||||
public float3 Translation
|
||||
{
|
||||
get
|
||||
{
|
||||
ScriptGlue.Transform_GetTranslation(Entity.UUID, out Vector3 translation);
|
||||
ScriptGlue.Transform_GetTranslation(Entity.UUID, out float3 translation);
|
||||
return translation;
|
||||
}
|
||||
set
|
||||
|
||||
Reference in New Issue
Block a user