20 lines
674 B
C++
20 lines
674 B
C++
#include "../variants.hpp"
|
|
#include "common_sprites.hpp"
|
|
|
|
namespace BGTU::ComputerGraphicsLabWork::Lab1 {
|
|
variant_sprites variant8 = variant_sprites::make_light<
|
|
static_centered_circle_edge<4.0, {127, 127, 127}, 1.0>,
|
|
static_rotated_polygon_edge<3.0, {0, 0, 255},
|
|
{1, 90 + 0},
|
|
{1, 90 + 120},
|
|
{1, 90 - 120}
|
|
>,
|
|
static_centered_circle_edge<2.0, {127, 127, 127}, 0.5>,
|
|
neg_rotated_polygon_edge<1.0, {0, 255, 0},
|
|
{0.5, 90 + 360 * 0 / 8}, {0.15, 90 + 360 * 1 / 8},
|
|
{0.5, 90 + 360 * 2 / 8}, {0.15, 90 + 360 * 3 / 8},
|
|
{0.5, 90 + 360 * 4 / 8}, {0.15, 90 + 360 * 5 / 8},
|
|
{0.5, 90 + 360 * 6 / 8}, {0.15, 90 + 360 * 7 / 8}
|
|
>
|
|
>();
|
|
} |