basilisk-engine 0.1.39__py3-none-any.whl → 0.1.40__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.

basilisk/nodes/node.py CHANGED
@@ -229,8 +229,8 @@ class Node():
229
229
  Updates the node's movement variables based on the delta time
230
230
  """
231
231
  # update based on physical properties
232
- if any(self.velocity): self.position.data += dt * self.velocity
233
- if any(self.rotational_velocity): self.rotation.data = glm.normalize(self.rotation.data - dt / 2 * self.rotation.data * glm.quat(0, *self.rotational_velocity))
232
+ if any(self.velocity): self.position += dt * self.velocity # NOTE this should be an external setter, do not change to self.position.data
233
+ if any(self.rotational_velocity): self.rotation = glm.normalize(self.rotation.data - dt / 2 * self.rotation.data * glm.quat(0, *self.rotational_velocity)) # NOTE see translational velocity note
234
234
 
235
235
  if self.physics_body:
236
236
  self.velocity += self.physics_body.get_delta_velocity(dt)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: basilisk-engine
3
- Version: 0.1.39
3
+ Version: 0.1.40
4
4
  Summary: Python 3D Framework
5
5
  Home-page: https://basilisk-website.vercel.app/
6
6
  Author: Name
@@ -60,7 +60,7 @@ basilisk/mesh/narrow_bvh.py,sha256=29VLfEKa6BE6UDY1HJWlcM5TMR7ayg4loZ6S61PpLJM,4
60
60
  basilisk/mesh/narrow_primative.py,sha256=Dlw0jnFewPwAvT0Ap9IxAh05tgjZAdjAyuiRy1DXOm4,930
61
61
  basilisk/nodes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
62
  basilisk/nodes/helper.py,sha256=GZ2-TY_4PDEfxBGp7ddktYoDDMOogPMbDeRPqsrPu1A,2069
63
- basilisk/nodes/node.py,sha256=RHd8YXUHzEhNJJT019qlEDNPI2w7oKEj530FR4V0ul0,33070
63
+ basilisk/nodes/node.py,sha256=IYWKqRrFACdZl95SRxkvwdVS8px2cCCYwdbgZQyLfTQ,33177
64
64
  basilisk/nodes/node_handler.py,sha256=IFEcEefVzlMbYR0O6OtM2qPcoZFrLYugiwAqEQMoTqo,4106
65
65
  basilisk/particles/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
66
66
  basilisk/particles/particle_handler.py,sha256=NkQz3fJaURdF5DhKu4BJ8igZ-4yWvj6a7omblN9mCXg,2927
@@ -108,7 +108,7 @@ basilisk/shaders/particle.frag,sha256=dQ-TFurL7Dj5Xw_ySF3DpDXUegBnE4mf_vXl7dzbjp
108
108
  basilisk/shaders/particle.vert,sha256=oiBz6S_2dzqioAhyzVYT1ZKOED4h4R6IoP-UJ8KRHhU,3227
109
109
  basilisk/shaders/sky.frag,sha256=dJRdSbg16aZYYjxdoG1spVQRIVBGNVdyX0rqp4ER6v8,556
110
110
  basilisk/shaders/sky.vert,sha256=oAnrknEgsd9MawE_zx8P0u9nUSFEBYBg5ykBmWpqZ_g,332
111
- basilisk_engine-0.1.39.dist-info/METADATA,sha256=-PVPG2fHKQUgOvkPRizXwIenPgYfoAOMQ7aSfVYvzaU,3793
112
- basilisk_engine-0.1.39.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
113
- basilisk_engine-0.1.39.dist-info/top_level.txt,sha256=enlSYSf7CUyAly1jmUCNNGInTbaFUjGk4SKwyckZQkw,9
114
- basilisk_engine-0.1.39.dist-info/RECORD,,
111
+ basilisk_engine-0.1.40.dist-info/METADATA,sha256=G933y6W4DHYC8733l-Lj161v2Yw2QBFDdgRYX22PTnY,3793
112
+ basilisk_engine-0.1.40.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
113
+ basilisk_engine-0.1.40.dist-info/top_level.txt,sha256=enlSYSf7CUyAly1jmUCNNGInTbaFUjGk4SKwyckZQkw,9
114
+ basilisk_engine-0.1.40.dist-info/RECORD,,