t_object 物体 { - t_vector 座標 - t_color 色の情報 } (各物体について必要だと思う。 ex) t_sphere, t_plane, t_cylinder...) t_world 全体の情報 { - t_mlx minilibx系 - t_camera カメラ - t_light 光源 - t_object *物体のリスト }
t_object 物体 {
- t_vector 座標
- t_color 色の情報
}
(各物体について必要だと思う。 ex) t_sphere, t_plane, t_cylinder...)
t_world 全体の情報 {
- t_mlx minilibx系
- t_camera カメラ
- t_light 光源
- t_object *物体のリスト
}