add uv layout type for Circle shape
This commit is contained in:
@@ -55,10 +55,10 @@ void App::init()
|
||||
shader_color.create(shader_color_v, shader_color_f);
|
||||
shader_uv.create(shader_v, shader_uv_f);
|
||||
plane.create<5>(50, 50);
|
||||
circle.create<6>(25);
|
||||
circle2.create<15>(25, 12);
|
||||
circle.create<10>(25, Circle::kUVMapping::Tube);
|
||||
circle2.create<10>(25, 12, Circle::kUVMapping::Tube);
|
||||
rounded.create<3>(50, 50, 10);
|
||||
slice.create(50, 50, 10);
|
||||
slice.create(50, 50, 10, .3);
|
||||
if (!tex.load("data/uvs.jpg"))
|
||||
printf("error loading image\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user