2
# Copyright (C) 2003-2004 Jean-Baptiste LAMY -- jiba@tuxfamily.org
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; either version 2 of the License, or
7
# (at your option) any later version.
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
# GNU General Public License for more details.
14
# You should have received a copy of the GNU General Public License
15
# along with this program; if not, write to the Free Software
16
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
cdef class _World(_Volume):
21
cdef readonly children
22
cdef _Atmosphere _atmosphere
24
cdef Shapifier _shapifier
26
cdef __getcstate__(self)
27
cdef void __setcstate__(self, object cstate)
28
cdef _World _get_root(self)
29
cdef void _invalidate(self)
30
cdef void _batch(self, CoordSyst coordsyst)
31
cdef int _shadow(self, CoordSyst coordsyst, _Light light)
32
cdef void _raypick(self, RaypickData raypick_data, CoordSyst raypickable)
33
cdef int _raypick_b(self, RaypickData raypick_data, CoordSyst raypickable)
34
cdef int _contains(self, _CObj obj)
35
cdef void _get_box(self, float* box, float* matrix)
36
cdef void _search_all(self, predicat, result)
37
cdef void _collect_raypickables(self, Chunk* items, float* rsphere, float* sphere)