Renamed src folder to io_export_psk_psa

This commit is contained in:
Colin Basnett
2020-04-01 17:34:51 -07:00
parent e19c15d60c
commit 584da89c82
12 changed files with 0 additions and 0 deletions

31
io_export_psk_psa/data.py Normal file
View File

@@ -0,0 +1,31 @@
from ctypes import *
class Vector3(Structure):
_fields_ = [
('x', c_float),
('y', c_float),
('z', c_float),
]
class Quaternion(Structure):
_fields_ = [
('x', c_float),
('y', c_float),
('z', c_float),
('w', c_float),
]
class Section(Structure):
_fields_ = [
('name', c_char * 20),
('type_flags', c_int32),
('data_size', c_int32),
('data_count', c_int32)
]
def __init__(self, *args, **kw):
super().__init__(*args, **kw)
self.type_flags = 1999801