i just read the matrix stuff in the dirextX sdk manual about worldTransformation and there is something i don't get:D
the manual says that the worldMatrix is used to translate/rotate an object from its local coords into worldcoords and there is an example which goes like:
Code: Select all
void C3DModel::MakeWorldMatrix( D3DXMATRIX* pMatWorld )
{
//...
}
Code: Select all
virtual const core::matrix4& irr::video::IVideoDriver::getTransform ( E_TRANSFORMATION_STATE state ) const
i mean if every object need its own matrix for transformation into worldCoords, what is this matrix for?