Hi could you help me with a question ?
why this code is not working
vector <ofVec3f> vertices = polyline.getVertices();
but this one works :
vector<glm::vec3>vertices = polyline.getVertices();
this is the output error :
**/home/chrysl666/Documents/of_v20191229_linux64gcc6_release/apps/myApps/Polylines/src/ofApp.cpp:42: error: conversion from ‘std::vector<glm::vec<3, float, (glm::qualifier)0>, std::allocator<glm::vec<3, float, (glm::qualifier)0> > >’ to non-scalar type ‘std::vector<ofVec3f>’ requested**
** vector<ofVec3f>vertices = polyline.getVertices();**
** ~~~~~~~~~~~~~~~~~~~~^~**
I suppose ofVec3f should support glm::vec3 .. but is not making the proper casting
I am following the ofBook exercises