stream world data from pxl8d to pxl8
This commit is contained in:
parent
39ee0fefb7
commit
a71a9840b2
55 changed files with 5290 additions and 2131 deletions
|
|
@ -87,11 +87,13 @@ pxl8.create_anim_from_ase = anim.Anim.from_ase
|
|||
pxl8.bounds = math.bounds
|
||||
|
||||
pxl8.Camera3D = gfx3d.Camera3D
|
||||
pxl8.Material = gfx3d.Material
|
||||
pxl8.Mesh = gfx3d.Mesh
|
||||
pxl8.begin_frame_3d = gfx3d.begin_frame
|
||||
pxl8.clear_3d = gfx3d.clear
|
||||
pxl8.clear_depth = gfx3d.clear_depth
|
||||
pxl8.create_camera_3d = gfx3d.Camera3D.new
|
||||
pxl8.create_material = gfx3d.create_material
|
||||
pxl8.create_mesh = gfx3d.Mesh.new
|
||||
pxl8.create_vec3_array = gfx3d.create_vec3_array
|
||||
pxl8.draw_line_3d = gfx3d.draw_line
|
||||
|
|
@ -132,10 +134,7 @@ pxl8.mat4_rotate_z = math.mat4_rotate_z
|
|||
pxl8.mat4_scale = math.mat4_scale
|
||||
pxl8.mat4_translate = math.mat4_translate
|
||||
|
||||
pxl8.Net = net.Net
|
||||
pxl8.create_net = net.Net.new
|
||||
pxl8.NET_MODE_LOCAL = net.MODE_LOCAL
|
||||
pxl8.NET_MODE_REMOTE = net.MODE_REMOTE
|
||||
pxl8.get_net = net.get
|
||||
|
||||
pxl8.pack_f32_be = bytes.pack_f32_be
|
||||
pxl8.pack_f32_le = bytes.pack_f32_le
|
||||
|
|
@ -221,7 +220,11 @@ pxl8.unpack_u32_le = bytes.unpack_u32_le
|
|||
pxl8.unpack_u64_be = bytes.unpack_u64_be
|
||||
pxl8.unpack_u64_le = bytes.unpack_u64_le
|
||||
|
||||
pxl8.Bsp = world.Bsp
|
||||
pxl8.Chunk = world.Chunk
|
||||
pxl8.CHUNK_BSP = world.CHUNK_BSP
|
||||
pxl8.CHUNK_VXL = world.CHUNK_VXL
|
||||
pxl8.World = world.World
|
||||
pxl8.create_world = world.World.new
|
||||
pxl8.get_world = world.World.get
|
||||
|
||||
return pxl8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue