Made writeMatrix/readMatrix use doubles exclusively.

This commit is contained in:
Robert Osfield 2003-09-09 10:09:20 +00:00
parent 33b03f7ac3
commit 5c3c0ed17c
2 changed files with 2 additions and 2 deletions

View File

@ -377,7 +377,7 @@ osg::Matrix DataInputStream::readMatrix()
{
for(int c=0;c<4;c++)
{
mat(r,c) = readFloat();
mat(r,c) = readDouble();
}
}

View File

@ -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));
}
}
}