Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Sasha

Pages: [1]
1
Graphics / Re: Declaring VertexArray in class.
« on: April 01, 2014, 06:01:06 pm »
Thank you very much, it has worked ^^


2
Graphics / Declaring VertexArray in class.
« on: April 01, 2014, 05:24:06 pm »
I would like to declare VertexArray in class

class ramka
{
  public:
 sf::VertexArray ramkaa(sf::Triangles, 3);
     void positioning();
     void draw();
};
 

But this shows error like "'sf::Triangles' is not a type|" . If im declaring it in void draw(); then there is no problem, but i would to have it like globally in class. How can i do this?

Pages: [1]
anything