diff --git a/ray.h b/ray.h index 9efa9a7..49877a8 100644 --- a/ray.h +++ b/ray.h @@ -15,7 +15,6 @@ namespace vb01{ Mesh *mesh = nullptr; }; static void retrieveCollisions(Vector3, Vector3, Node*, std::vector&, const float = .0); - private: static void castRay(Vector3, Vector3, Node*, std::vector&, const float); static void sortResults(std::vector&); }; diff --git a/text.h b/text.h index 84fdbc7..c9e4d23 100755 --- a/text.h +++ b/text.h @@ -36,11 +36,11 @@ namespace vb01{ inline void setLeftToRight(bool ltr){this->leftToRight = ltr;} inline Material* getMaterial(){return material;} inline void setMaterial(Material *mat){this->material = mat;} + Glyph* getGlyph(u16); private: void initFont(std::string); void prepareGlyphs(Glyph, Vector2); void renderGlyphs(Glyph, float[], u32); - Glyph* getGlyph(u16); Node *node = nullptr; Material *material = nullptr;