basilisk-engine 0.1.32__py3-none-any.whl → 0.1.34__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/__init__.py CHANGED
@@ -13,4 +13,14 @@ from .render.sky import Sky
13
13
  from .render.post_process import PostProcess
14
14
  from .particles.particle_handler import ParticleHandler
15
15
  from .render.framebuffer import Framebuffer
16
- from .audio.sound import Sound
16
+ from .audio.sound import Sound
17
+
18
+ # expose internal algorithms
19
+ from .collisions.narrow.epa import get_epa_from_gjk
20
+ from .collisions.narrow.gjk import collide_gjk
21
+ from .collisions.narrow.graham_scan import graham_scan
22
+ from .collisions.narrow.helper import get_furthest_point, get_support_point
23
+ from .collisions.narrow.line_intersections import line_line_intersect, line_poly_intersect
24
+ from .collisions.narrow.sutherland_hodgman import sutherland_hodgman
25
+ from .generic.collisions import collide_aabb_aabb, collide_aabb_line
26
+ from .generic.meshes import moller_trumbore
basilisk/nodes/node.py CHANGED
@@ -293,7 +293,7 @@ class Node():
293
293
  relative = glm.inverse(self.model_matrix) * child.model_matrix
294
294
  position = glm.vec3(relative[3])
295
295
  scale = glm.vec3([glm.length(relative[i]) for i in range(3)])
296
- rotation = glm.quat_cast(glm.mat3x3(*[glm.vec3(relative[i]) / scale[i] for i in range(3)])) # TODO ensure that these are the correct calculations
296
+ rotation = child.rotation * glm.inverse(self.rotation.data)
297
297
 
298
298
  # compute relative transformations
299
299
  if relative_position or (relative_position is None and child.relative_position): child.relative_position = position
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: basilisk-engine
3
- Version: 0.1.32
3
+ Version: 0.1.34
4
4
  Summary: Python 3D Framework
5
5
  Home-page: https://basilisk-website.vercel.app/
6
6
  Author: Name
@@ -1,4 +1,4 @@
1
- basilisk/__init__.py,sha256=JclirSjufIEfEPaQhOhf5NzWoUkO60Ay4dacNeUSGRw,600
1
+ basilisk/__init__.py,sha256=23OM1kiXMU44J2TVp66efVSrbQAeiuTDmcdhNAftFfY,1134
2
2
  basilisk/config.py,sha256=FC0tTQy8jcSZSlriro1SFN2sLw-KLfYQM63Jq6YPHjk,109
3
3
  basilisk/engine.py,sha256=1YERzyCkVJTgntZQPDbJ1_qy6CZEaov6Y9rojHpm_O0,5718
4
4
  basilisk/scene.py,sha256=51nrk6pnorHQgyiY2veW90uXsPfdHQyDKbJNtXx44w4,12197
@@ -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=SqZ9jRtD3u9NttoKNfHOo-On2scJpJvKjzUMJ9UHeAU,32594
63
+ basilisk/nodes/node.py,sha256=n9aJv0HP16rjTtZnYqH9YM2ZvUo8Edfq0M9ukkM-jzw,32508
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=PtWn8-qwfkD0r8CXcATvDEFstrKG86KVBH0j1ybEv58,2928
@@ -103,7 +103,7 @@ basilisk/shaders/particle.frag,sha256=JXhPDvgd7JDw0-PCZtCOjHTTw2DMeeSaBvTr5fHuIy
103
103
  basilisk/shaders/particle.vert,sha256=bJv3hsWjWYb-g0mgdCV9eH-TVRwpCzhA3wsgSUI3WEM,2943
104
104
  basilisk/shaders/sky.frag,sha256=KG8ablNdaJ5E2Gf1ZpfP3ih252fY8ZNjign_fwjN6V4,169
105
105
  basilisk/shaders/sky.vert,sha256=oAnrknEgsd9MawE_zx8P0u9nUSFEBYBg5ykBmWpqZ_g,332
106
- basilisk_engine-0.1.32.dist-info/METADATA,sha256=B00WJ5jOUz7Q-FJGeTxbnULhr4fNUs1VP233MCDIJV8,1261
107
- basilisk_engine-0.1.32.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
108
- basilisk_engine-0.1.32.dist-info/top_level.txt,sha256=enlSYSf7CUyAly1jmUCNNGInTbaFUjGk4SKwyckZQkw,9
109
- basilisk_engine-0.1.32.dist-info/RECORD,,
106
+ basilisk_engine-0.1.34.dist-info/METADATA,sha256=R7zkpwdUFr7pOPueDp5O227samhusB3Qic1MkKPyKc0,1261
107
+ basilisk_engine-0.1.34.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
108
+ basilisk_engine-0.1.34.dist-info/top_level.txt,sha256=enlSYSf7CUyAly1jmUCNNGInTbaFUjGk4SKwyckZQkw,9
109
+ basilisk_engine-0.1.34.dist-info/RECORD,,