Commit a127ef64 authored by Philip Trettner's avatar Philip Trettner
Browse files

updated subs

parent 50c40918
glow-extras @ b2b528eb
Subproject commit eeae4d08494b9ac58765bd33097a8610a0ecff32
Subproject commit b2b528eb65352c877ef76665d67ce5d045e40a7d
polymesh @ 62677179
Subproject commit 5ee0b30d132202fecefb7f777f2287fdf1daa13b
Subproject commit 62677179123a61649755b05e86a8ed68adee81e9
......@@ -37,7 +37,7 @@ int main()
// prepare some data
pm::vertex_attribute<glm::vec2> uv = pos.map([](tg::pos3 v) { return glm::vec2(v.x, v.y); });
pm::vertex_attribute<float> vdata = pos.map([](tg::pos3 v) { return v.y; });
pm::vertex_attribute<tg::vec3> vnormals = vertex_normals_by_area(m, pos);
pm::vertex_attribute<tg::vec3> vnormals = vertex_normals_by_area(pos);
pm::face_attribute<float> fdata = m.faces().map([&](pm::face_handle f) { return f.vertices().avg(pos).z; });
glow::SharedTexture2D tex = glow::Texture2D::createFromFile(dataPath + "textures/tiles.color.png", glow::ColorSpace::sRGB);
glow::AsyncTexture2D atex = glow::AsyncTextureLoader::load2D(dataPath + "textures/tiles.color.png", glow::ColorSpace::sRGB);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment