Changed the scale from 0.03 to 0.0254 as the Q3 bsp files are in inches.
This commit is contained in:
@@ -182,7 +182,7 @@ osg::Geode* Q3BSPReader::convertFromBSP(
|
|||||||
osg::Vec2Array* text_decal_array = new osg::Vec2Array(num_load_vertices);
|
osg::Vec2Array* text_decal_array = new osg::Vec2Array(num_load_vertices);
|
||||||
osg::Vec2Array* text_lmap_array = new osg::Vec2Array(num_load_vertices);
|
osg::Vec2Array* text_lmap_array = new osg::Vec2Array(num_load_vertices);
|
||||||
|
|
||||||
float scale = 0.03;
|
float scale = 0.0254;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
for(i=0; i<num_load_vertices; ++i)
|
for(i=0; i<num_load_vertices; ++i)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user