00001 #include <assert.h>
00002 #include <math/vector4.h>
00003 #include <stdio.h>
00004 #include "VrmlScaleOrientation.h"
00005
00006
00007
00008
00009
00010
00011 void VrmlScaleOrientation ::Parse( char*& buffer )
00012 {
00013 float x;
00014 float y;
00015 float z;
00016 float w;
00017
00018
00019 int result;
00020 result = sscanf( buffer, "%f%f%f%f", &x, &y, &z, &w );
00021 assert( result == 4 );
00022
00023
00024 while( buffer[ 0 ] != '\n' )
00025 {
00026 buffer++;
00027 }
00028
00029
00030 this->m_Matrix = Matrix4x4::Identity();
00031
00032 }