void function ( ) { if ( this . texHeight != 0 ) { this . heightRatio = ( ( float ) this . height ) / this . texHeight ; } }
set the height of the texture . this will update the ratio also . concode_field_sep int texWidth concode_elem_sep float widthRatio concode_elem_sep int width concode_elem_sep int textureID concode_elem_sep int texHeight concode_elem_sep float heightRatio concode_elem_sep int target concode_elem_sep int height concode_field_sep float getHeight concode_elem_sep void bind concode_elem_sep int getTextureHeight concode_elem_sep void setTextureHeight concode_elem_sep void setTextureWidth concode_elem_sep int getImageWidth concode_elem_sep float getWidth concode_elem_sep void setWidth concode_elem_sep void setWidth concode_elem_sep int getImageHeight concode_elem_sep int getTextureWidth