Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualphil_t

Posted 19 June 2013 - 04:16 PM

The copy constructor for VertexArray wouldn't be invoked in the first bit of code you posted; just the assignment operator.

 

In the second bit of code it should though. You said that code "still wasn't working" - what exactly do you mean?

 

btw, your code should probably follow the rule of three.


#1phil_t

Posted 19 June 2013 - 04:15 PM

The copy constructor for VertexArray wouldn't be invoked in the first bit of code you posted; just the assignment operator.

 

In the second bit of code it should though. You said that code "still wasn't working" - what exactly do you mean?


PARTNERS