gravitron 0.1.2

A GameEngine based on an ECS and Vulkan
Documentation
use glam as g;

use crate::scene::game_object::GameObjectComponent;

pub struct Transform {
  position: g::Vec3,
  rotation: g::Quat,
  scale: g::Vec3,
}

impl Transform {
  pub fn new(position: g::Vec3, rotation: g::Quat, scale: g::Vec3) -> Self {
    Self {
      position,
      rotation,
      scale,
    }
  }
}

impl GameObjectComponent for Transform {}