Scene.h 462 B

123456789101112
  1. #ifndef SCUFENG_SCENE_H_
  2. #define SCUFENG_SCENE_H_
  3. #include "scufeng/Shape.h"
  4. #include "engine.h"
  5. void se_render_meshes_2d(SEMesh *const *const meshes, const size_t meshes_n);
  6. SEResult se_render_line_segment(const vec2 p1, const vec2 p2, const vec4 color);
  7. SEResult se_render_line_segment_norm_coord(const vec2 p1, const vec2 p2, const vec4 color);
  8. void se_text_render(const char* text, int x, int y, float scale, const vec3 color);
  9. #endif // SCUFENG_SCENE_H_