speed up gfx, colored lighting is out for now

This commit is contained in:
asrael 2026-02-05 02:42:58 -06:00
parent 3c3e961995
commit 01e6059dd1
17 changed files with 1055 additions and 250 deletions

View file

@ -2,7 +2,7 @@ extern crate alloc;
use alloc::vec::Vec;
use crate::math::{Vec3, Vec3Ext, VEC3_ZERO};
use crate::math::Vec3;
use crate::pxl8::*;
use crate::voxel::VoxelWorld;
use crate::world::World;
@ -17,8 +17,8 @@ const MAX_ENTITIES: usize = 1024;
impl Default for Entity {
fn default() -> Self {
Self {
pos: VEC3_ZERO,
vel: VEC3_ZERO,
pos: Vec3::ZERO,
vel: Vec3::ZERO,
yaw: 0.0,
pitch: 0.0,
flags: 0,