''' 
This subpackage is a C extension to accelerate the computation of image
sources. It implements two main algorithms, one for rectangular rooms, and one
for arbitrary polyhedral rooms.

The C extension is used instead of the pure python code whenever available.
'''

import ctypes as _ctypes
import os
import glob

path = os.path.dirname(__file__)

try:
    # we need the matching because python3 appends some os info to the name
    match_files = glob.glob(path + "/libroom*so")
    libroom = _ctypes.cdll.LoadLibrary(match_files[0])
    libroom_available = True
except:
    libroom = False
    libroom_available = False

from .libroom_wrapper import *

ea936918c9eccd7d7eef0b144200c03586a11822
<mask token>

<mask token>
try:
    match_files = glob.glob(path + '/libroom*so')
    libroom = _ctypes.cdll.LoadLibrary(match_files[0])
    libroom_available = True
except:
    libroom = False
    libroom_available = False
<mask token>

<mask token>
path = os.path.dirname(__file__)
try:
    match_files = glob.glob(path + '/libroom*so')
    libroom = _ctypes.cdll.LoadLibrary(match_files[0])
    libroom_available = True
except:
    libroom = False
    libroom_available = False
<mask token>

<mask token>
import ctypes as _ctypes
import os
import glob
path = os.path.dirname(__file__)
try:
    match_files = glob.glob(path + '/libroom*so')
    libroom = _ctypes.cdll.LoadLibrary(match_files[0])
    libroom_available = True
except:
    libroom = False
    libroom_available = False
from .libroom_wrapper import *

''' 
This subpackage is a C extension to accelerate the computation of image
sources. It implements two main algorithms, one for rectangular rooms, and one
for arbitrary polyhedral rooms.

The C extension is used instead of the pure python code whenever available.
'''

import ctypes as _ctypes
import os
import glob

path = os.path.dirname(__file__)

try:
    # we need the matching because python3 appends some os info to the name
    match_files = glob.glob(path + "/libroom*so")
    libroom = _ctypes.cdll.LoadLibrary(match_files[0])
    libroom_available = True
except:
    libroom = False
    libroom_available = False

from .libroom_wrapper import *
