mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2024-11-29 10:12:02 +05:30
Fixed typo and correctly print geoheader
This commit is contained in:
parent
fc7558a0b6
commit
7736a50e7f
@ -236,7 +236,7 @@ if __name__ == "__main__":
|
|||||||
# geoheader = ctypes.cast(data, ctypes.POINTER(Header))
|
# geoheader = ctypes.cast(data, ctypes.POINTER(Header))
|
||||||
gh = ctypes.pointer(geoheader)
|
gh = ctypes.pointer(geoheader)
|
||||||
devil1geo.getheader(ctypes.byref(gh), data)
|
devil1geo.getheader(ctypes.byref(gh), data)
|
||||||
devil1geo.printheader(geoheader)
|
devil1geo.printheader(gh)
|
||||||
meshheader = MeshHeader()
|
meshheader = MeshHeader()
|
||||||
mh = ctypes.pointer(meshheader)
|
mh = ctypes.pointer(meshheader)
|
||||||
devil1geo.getmeshheader(ctypes.byref(mh), 1, data)
|
devil1geo.getmeshheader(ctypes.byref(mh), 1, data)
|
||||||
|
Loading…
Reference in New Issue
Block a user