M
maelstrom
Guest
Is it ok to add several d3d_transform_add_rotation(s) together? ie. is this valid?
d3d_transform_set_identity();
d3d_transform_add_rotation_z(45);
d3d_transform_add_rotation_x(45);
d3d_transform_add_translation(x,y,0);
d3d_model_draw(model,0,0,0,tex);
d3d_transform_set_identity();
my problem is, I'm getting the z rotation but not the x? Is there info I'm missing?
d3d_transform_set_identity();
d3d_transform_add_rotation_z(45);
d3d_transform_add_rotation_x(45);
d3d_transform_add_translation(x,y,0);
d3d_model_draw(model,0,0,0,tex);
d3d_transform_set_identity();
my problem is, I'm getting the z rotation but not the x? Is there info I'm missing?