Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Pass ofParameter as an argument

$
0
0

@CCx266 wrote:

Hello,

I have an
ofParameter<glm::vec2> corners[4];

and I want to create a function that can accept it like :

myMatrix = myFunction(corners.get());

	template <class T>
    static glm::mat4 myFunction(const T &dst){

Is it possible ?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles