Made writeMatrix/readMatrix use doubles exclusively.
This commit is contained in:
parent
33b03f7ac3
commit
5c3c0ed17c
@ -377,7 +377,7 @@ osg::Matrix DataInputStream::readMatrix()
|
||||
{
|
||||
for(int c=0;c<4;c++)
|
||||
{
|
||||
mat(r,c) = readFloat();
|
||||
mat(r,c) = readDouble();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -266,7 +266,7 @@ void DataOutputStream::writeMatrix(const osg::Matrix& mat)
|
||||
{
|
||||
for(int c=0;c<4;c++)
|
||||
{
|
||||
writeFloat(mat(r,c));
|
||||
writeDouble(mat(r,c));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user