Skip to content

Instantly share code, notes, and snippets.

View breiting's full-sized avatar
:shipit:
Coding is fun!

Bernhard Reitinger breiting

:shipit:
Coding is fun!
View GitHub Profile
@breiting
breiting / blerex.py
Created October 24, 2019 14:28 — forked from re-polm/blerex.py
import bpy
from bpy import context
import numpy as np
REX_BLOCK_HEADER_SIZE = 16
REX_MESH_HEADER_SIZE = 128
REX_NOT_SET = np.uint64(0x7fffffffffffffff).byteswap().tobytes()
def mesh_triangulate(me):