d3d_transform_add_rotation_y(cam_angle(x,y,z,obj_camera.x,obj_camera.y,obj_camera.z)) d3d_transform_add_rotation_z(point_direction(x,y,obj_camera.x,obj_camera.y)) d3d_transform_add_translation(x,y,z) d3d_draw_wall(-10*scale,-10*scale,-10*scale,10*scale,10*scale,10*scale,background_get_texture(texture_particle),1,1) d3d_transform_set_identity() |