SkillAgentSearch skills...

ImGuiWidgets

This library provides a collection of visualization widgets for your project!

Install / Use

/learn @HODAKdev/ImGuiWidgets
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ImGuiWidgets

Introduction

This library provides a collection of visualization widgets for your project!

Features

Bounding Box Widget

Perspective Frustum Widget

Orthographic Frustum Widget

Example

Matrix _CamViewMatrix = Cam::GetViewMatrix();
Matrix _CamProjectionMatrix = Cam::GetProjectionMatrix();
Matrix _Matrix = Matrix::Identity;
Vector3 _Min = Vector3(-1.0f, -1.0f, -1.0f);
Vector3 _Max =  Vector3(1.0f, 1.0f, 1.0f);
float _Near = 0.1f;
float _Far = 100.0f;
float _Width = 1280.0f;
float _Height = 720.0f;
float _Fov = 45.0f;
  
ImGuizmo::DrawBoundingBox(
    (float*)&_CamViewMatrix,
    (float*)&_CamProjectionMatrix,
    (float*)&_Matrix,
    (float*)&_Min,
    (float*)&_Max);
    
ImGuizmo::DrawPerspectiveFrustum(
    (float*)&_CamViewMatrix,
    (float*)&_CamProjectionMatrix,
    (float*)&_Matrix,
    _Near,
    _Far,
    _Width,
    _Height,
    _Fov);
    
ImGuizmo::DrawOrthographicFrustum(
    (float*)&_CamViewMatrix,
    (float*)&_CamProjectionMatrix,
    (float*)&_Matrix,
    _Near,
    _Far,
    _Width,
    _Height);

Install

Just copy Widgets.h to ImGuizmo.h and Widgets.cpp to ImGuizmo.cpp.

License

ImGuiWidgets is licensed under the MIT License, see LICENSE for more information.

Related Skills

View on GitHub
GitHub Stars10
CategoryDevelopment
Updated2mo ago
Forks1

Languages

C++

Security Score

95/100

Audited on Dec 29, 2025

No findings