speed up gfx, colored lighting is out for now
This commit is contained in:
parent
3c3e961995
commit
01e6059dd1
17 changed files with 1055 additions and 250 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue