basilisk-engine 0.1.1__py3-none-any.whl → 0.1.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of basilisk-engine might be problematic. Click here for more details.

@@ -65,10 +65,11 @@ class ImageHandler():
65
65
 
66
66
 
67
67
  for size in self.texture_arrays:
68
- # Get the rray data and attributes
68
+ # Check that there are textures in the bucket
69
+ if not len(self.texture_arrays[size]): continue
69
70
  array_data = np.array(self.texture_arrays[size])
70
71
  dim = (size, size, len(self.texture_arrays[size]))
71
-
72
+
72
73
  # Make the array
73
74
  self.texture_arrays[size] = self.ctx.texture_array(size=dim, components=4, data=array_data)
74
75
  # Texture OpenGl settings
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: basilisk-engine
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Python 3D Framework
5
5
  Home-page: https://basilisk-website.vercel.app/
6
6
  Author: Name
@@ -65,7 +65,7 @@ basilisk/render/chunk.py,sha256=YNtoXrZN175u0USSCkpO3_0FiMrBIoaqMZl9XAoJLAA,2656
65
65
  basilisk/render/chunk_handler.py,sha256=-vlrlEDqZIoBom2YK8c1yu9sGb7AHH-IbkI4IWYYd5Y,6168
66
66
  basilisk/render/frame.py,sha256=OwgDtBK3EtXTD8e6o8chAl0Wu3fg-KwTEYQg1-r21y8,6728
67
67
  basilisk/render/image.py,sha256=_VB9e_2iRrjIQGS9cQa9V0xJ42x29AtYsu6GHSWLRRQ,2625
68
- basilisk/render/image_handler.py,sha256=T_rByRj4_Ce_pMXwBceGFUrhQbsr98Vx44OONobtm40,4267
68
+ basilisk/render/image_handler.py,sha256=6limLZvLznUK_l1UdEBsQ3XEPnnrCLzmBzSyifbV81M,4351
69
69
  basilisk/render/light.py,sha256=hFqODv9iK4GEDZeDyBHxOWwwd4v8Pm089_xoScBMjVY,3879
70
70
  basilisk/render/light_handler.py,sha256=Le5InqqjgglSXUu7MwkVVsb7WbNJeRkRKldYDQGr6kg,2161
71
71
  basilisk/render/material.py,sha256=JmmwCxSYkPLHw73bH-7SzPo5ewzbU3QPTIvI_2pInXQ,9655
@@ -89,7 +89,7 @@ basilisk/shaders/particle.frag,sha256=Cv8cWQpVVQvhZeWj3NqL0D5nLtSO3EWV0VzOU-ZVL4
89
89
  basilisk/shaders/particle.vert,sha256=ElXzT7ywiZ0SjrFcUistVDBi4wOobQ7_J5O7XVxrsVs,3027
90
90
  basilisk/shaders/sky.frag,sha256=vTmZ1Xsd601_gmeBRfLYodHuBoBDI-M_1IybRt0ZDFk,178
91
91
  basilisk/shaders/sky.vert,sha256=v_BSdnMiljSJGPqno-J_apAiom38IrBzbDoxM7pIgwI,345
92
- basilisk_engine-0.1.1.dist-info/METADATA,sha256=SpvKfqw7cM2tzYG0duJeQZY5pmwPggRdVptnp_2PZIc,1146
93
- basilisk_engine-0.1.1.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
94
- basilisk_engine-0.1.1.dist-info/top_level.txt,sha256=enlSYSf7CUyAly1jmUCNNGInTbaFUjGk4SKwyckZQkw,9
95
- basilisk_engine-0.1.1.dist-info/RECORD,,
92
+ basilisk_engine-0.1.2.dist-info/METADATA,sha256=f2o57SAmYiM3Mx6GT0Xq2I3G1FS0jrCEfEYbepAyZqo,1146
93
+ basilisk_engine-0.1.2.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
94
+ basilisk_engine-0.1.2.dist-info/top_level.txt,sha256=enlSYSf7CUyAly1jmUCNNGInTbaFUjGk4SKwyckZQkw,9
95
+ basilisk_engine-0.1.2.dist-info/RECORD,,