Skip to content

Instantly share code, notes, and snippets.

View Hary309's full-sized avatar
💭
I may be slow to respond.

Piotr Krupa Hary309

💭
I may be slow to respond.
View GitHub Profile
@Hary309
Hary309 / .clang-format
Last active July 14, 2022 19:40
clang-format
Language: Cpp
IndentWidth: 4
Standard: c++17
FixNamespaceComments: false
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: false
AlignConsecutiveBitFields: false
AlignConsecutiveDeclarations: false
AlignConsecutiveMacros: false
AlignEscapedNewlines: Right
@Hary309
Hary309 / Bezier.cpp
Last active July 14, 2020 12:27
Bezier in modern C++
/*
author: Piotr Krupa <piotrkrupa06@gmail.com>
*/
#include <array>
#include <iostream>
#include "glm/glm/vec2.hpp"
template<typename T = glm::vec2>