def create_ptas(self): self.pta_next_grid_pos = PTALVecBase3.empty_array(1) self.pta_grid_pos = PTALVecBase3.empty_array(1)
def _create_ptas(self): self._pta_grid_pos = PTALVecBase3.empty_array(1) self._pta_grid_size = PTAFloat.empty_array(1) self._pta_grid_res = PTAInt.empty_array(1) self._pta_grid_size[0] = self._voxel_ws self._pta_grid_res[0] = self._voxel_res