DeformTextures Namespace Reference


Functions

void deformLandscape (Vector &pos, float radius, Image &scorchedMap, DeformLandscape::DeformPoints &map)


Function Documentation

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().


Generated on Mon Feb 16 15:15:09 2009 for Scorched3D by  doxygen 1.5.3