forked from BGTU/computer-graphics-0
23 lines
780 B
C++
23 lines
780 B
C++
#include "../variants.hpp"
|
|
#include "common_sprites.hpp"
|
|
|
|
namespace BGTU::ComputerGraphicsLabWork::Impl::Variants::Lab1 {
|
|
variant_sprites variant6 = variant_sprites::make_light<
|
|
static_centered_circle_edge<4.0, {127, 127, 127}, 1.0>,
|
|
//sqrt(5.0)*sqrt(5.0+2.0*sqrt(5.0))/10.0 * sqrt((5.0-sqrt(5.0))/2.0)
|
|
static_rotated_polygon_edge<3.0, {0, 0, 255},
|
|
{1, 90 + 360 * 0 / 5},
|
|
{1, 90 + 360 * 1 / 5},
|
|
{1, 90 + 360 * 2 / 5},
|
|
{1, 90 + 360 * 3 / 5},
|
|
{1, 90 + 360 * 4 / 5}
|
|
>,
|
|
static_centered_circle_edge<2.0, {127, 127, 127}, 0.8090169943749476>,
|
|
neg_rotated_polygon_edge<1.0, {255, 0, 0},
|
|
{0.8090169943749476, 45 + 0},
|
|
{0.8090169943749476, 45 + 90},
|
|
{0.8090169943749476, 45 + 180},
|
|
{0.8090169943749476, 45 + 270}
|
|
>
|
|
>();
|
|
} |