bresenham-0.rs/programs/labs1_2/src/variants/lab1/variant4.cpp

15 lines
571 B
C++

#include "../variants.hpp"
#include "common_sprites.hpp"
namespace BGTU::ComputerGraphicsLabWork::Impl::Variants::Lab1 {
variant_sprites variant4 = variant_sprites::make_light<
static_centered_circle_edge<2.0, {127, 127, 127}, 1.0>,
pos_rotated_polygon_edge<1.0, {0, 0, 255},
{1, 90 + 360 * 0 / 10}, {0.5, 90 + 360 * 1 / 10},
{1, 90 + 360 * 2 / 10}, {0.5, 90 + 360 * 3 / 10},
{1, 90 + 360 * 4 / 10}, {0.5, 90 + 360 * 5 / 10},
{1, 90 + 360 * 6 / 10}, {0.5, 90 + 360 * 7 / 10},
{1, 90 + 360 * 8 / 10}, {0.5, 90 + 360 * 9 / 10}
>
>();
}