mirror of
https://github.com/Relintai/sfw.git
synced 2024-11-08 07:52:09 +01:00
Added some todos.
This commit is contained in:
parent
272df2c00c
commit
9e3de9c027
@ -3,3 +3,11 @@
|
|||||||
Simple experimental c++ app framework to help with teaching programming and OOP.
|
Simple experimental c++ app framework to help with teaching programming and OOP.
|
||||||
|
|
||||||
Inspired by the single file game engines like FWK.
|
Inspired by the single file game engines like FWK.
|
||||||
|
|
||||||
|
TODO
|
||||||
|
|
||||||
|
//+primitivemeshes cleanup
|
||||||
|
//+image make save
|
||||||
|
//Add directory back
|
||||||
|
//remove old
|
||||||
|
// merged version
|
||||||
|
@ -44,8 +44,17 @@ public:
|
|||||||
void draw_text_2d_tf(const String &p_text, const Ref<Font> &p_font, const Transform2D &p_transform_2d, const Color &p_color = Color(1, 1, 1));
|
void draw_text_2d_tf(const String &p_text, const Ref<Font> &p_font, const Transform2D &p_transform_2d, const Color &p_color = Color(1, 1, 1));
|
||||||
void draw_text_2d_tf_material(const String &p_text, const Ref<Font> &p_font, const Ref<Material> &p_material, const Transform2D &p_transform_2d, const Color &p_color = Color(1, 1, 1));
|
void draw_text_2d_tf_material(const String &p_text, const Ref<Font> &p_font, const Ref<Material> &p_material, const Transform2D &p_transform_2d, const Color &p_color = Color(1, 1, 1));
|
||||||
|
|
||||||
|
//add draw colored, draw textured, also with and without transform -> p_transform give default arg
|
||||||
void draw_mesh_3d(const Ref<Mesh> &p_mesh, const Ref<Material> &p_material, const Transform &p_transform);
|
void draw_mesh_3d(const Ref<Mesh> &p_mesh, const Ref<Material> &p_material, const Transform &p_transform);
|
||||||
|
|
||||||
|
//TODO
|
||||||
|
//camera set transform
|
||||||
|
//3d cam matrix stack
|
||||||
|
//3d cam proj setup
|
||||||
|
//reset -> rename camera_2d_projection_setup(), push etc
|
||||||
|
//3d proj setup
|
||||||
|
//3d camera matrix stack
|
||||||
|
|
||||||
Transform2D camera_2d_get_current_model_view_matrix() const;
|
Transform2D camera_2d_get_current_model_view_matrix() const;
|
||||||
void camera_2d_push_model_view_matrix(const Transform2D &p_transform_2d);
|
void camera_2d_push_model_view_matrix(const Transform2D &p_transform_2d);
|
||||||
void camera_2d_pop_model_view_matrix();
|
void camera_2d_pop_model_view_matrix();
|
||||||
|
Loading…
Reference in New Issue
Block a user