implement grid and heightmap with lambert shading
This commit is contained in:
@@ -45,7 +45,7 @@ void Image::flip()
|
||||
std::swap(m_data, flipped);
|
||||
}
|
||||
|
||||
Image Image::resize(int w, int h)
|
||||
Image Image::resize(int w, int h) const
|
||||
{
|
||||
Image ret;
|
||||
ret.create(w, h);
|
||||
|
||||
Reference in New Issue
Block a user