MCPcopy
hub / github.com/junshutang/Make-It-3D / get_backend

Function get_backend

raymarching/raymarching.py:14–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12BACKEND = None
13
14def get_backend():
15 global BACKEND
16
17 if BACKEND is None:
18 try:
19 import _raymarching as _backend
20 except ImportError:
21 from .backend import _backend
22
23 BACKEND = _backend
24
25 return BACKEND
26
27# ----------------------------------------
28# utils

Callers 13

forwardMethod · 0.85
forwardMethod · 0.85
forwardMethod · 0.85
forwardMethod · 0.85
forwardMethod · 0.85
forwardMethod · 0.85
forwardMethod · 0.85
backwardMethod · 0.85
forwardMethod · 0.85
backwardMethod · 0.85
forwardMethod · 0.85
forwardMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected