Skip to content

Instantly share code, notes, and snippets.

View whitwhoa's full-sized avatar

whitwhoa

View GitHub Profile
@whitwhoa
whitwhoa / ArmSwayController.cpp
Created December 4, 2020 23:12
arm sway controller class, responsible for arm sway on mouse movement and pullback to center
#include <iostream>
#include "glm/gtx/string_cast.hpp"
#include "vel/App.h"
#include "vel/helpers/functions.h"
#include "ArmSwayController.h"
ArmSwayController::ArmSwayController() :
#include <numeric>
#include <iostream>
#define GLM_FORCE_ALIGNED_GENTYPES
#include "glm/gtx/matrix_decompose.hpp"
#include "glm/gtx/string_cast.hpp"
#include "glm/gtx/projection.hpp"
#include "controllers/ClientController.h"