25 bool place(
int w,
int h,
int* x,
int* y);
26 int width()
const {
return width_; }
27 int height()
const {
return shelf_y_ + shelf_h_; }
30 int width_, shelf_x_ = 0, shelf_y_ = 0, shelf_h_ = 0;
bool place(int w, int h, int *x, int *y)
Definition lighting.cpp:54
int width() const
Definition lighting.h:26
Atlas(int width)
Definition lighting.h:24
int height() const
Definition lighting.h:27
Definition collision.cpp:7
float light_falloff(float d, int radius)
Definition lighting.cpp:49
Vec3 light_colour(int hue, int saturation, int brightness)
Definition lighting.cpp:35
bool shadow_bit(const Model &m, const LightMap &lm, int light, int i, int j)
Definition lighting.cpp:29
int lightmap_lights(const Model &m, const LightMap &lm)
Definition lighting.cpp:22
Vec3 luxel_position(const Model &m, const Surf &s, const LightMap &lm, int i, int j)
Definition lighting.cpp:11