Functions | |
| void | deformLandscape (Vector &pos, float radius, Image &scorchedMap, DeformLandscape::DeformPoints &map) |
| void DeformTextures::deformLandscape | ( | Vector & | pos, | |
| float | radius, | |||
| Image & | scorchedMap, | |||
| DeformLandscape::DeformPoints & | map | |||
| ) |
Definition at line 31 of file DeformTextures.cpp.
References fixed::asFloat(), GLTexture::draw(), Image::getBits(), getHeight(), Image::getHeight(), ScorchedContext::getLandscapeMaps(), Landscape::getMainMap(), Landscape::getMainTexture(), HeightMap::getMapHeight(), HeightMap::getMapWidth(), GLStateExtension::getNoTexSubImage(), Image::getWidth(), GL_RGB, GL_TEXTURE_2D, GL_UNPACK_ROW_LENGTH, GL_UNSIGNED_BYTE, glPixelStorei(), glTexSubImage2D(), Landscape::instance(), ScorchedClient::instance(), int(), DeformLandscape::DeformPoints::map, MAX, MIN, and GLState::TEXTURE_ON.
Referenced by Explosion::simulate(), and Napalm::simulateAddEdge().
1.5.3