Skip to content

Instantly share code, notes, and snippets.

View jspanchu's full-sized avatar
🦈
Gotta do what you gotta do

Jaswant Panchumarti jspanchu

🦈
Gotta do what you gotta do
View GitHub Profile
@carasuca
carasuca / ImRotateDemo.cpp
Last active August 25, 2024 19:59
Rotating text and icon demo for dear imgui
#include "imgui_internal.h"
int rotation_start_index;
void ImRotateStart()
{
rotation_start_index = ImGui::GetWindowDrawList()->VtxBuffer.Size;
}
ImVec2 ImRotationCenter()
{