forge-camera-and-input

Official

FPS camera & input for SDL3 GPU scenes.

Authorcode-review-benchmark
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Enables interactive navigation in 3D scenes by providing a first-person camera with quaternion orientation, WASD movement, and mouse-look controls, all in an SDL3 GPU context.

Core Features & Use Cases

  • First-person camera: orientation derived from yaw/pitch using quaternions and a view matrix built from position and orientation.
  • Input handling: keyboard state for smooth movement and relative mouse mode for camera control.
  • Delta-time movement: frame-rate independent updates with clamped dt to prevent jerky motion.
  • Reusability: integrates with depth-and-3d and common math utilities to enable quick scene exploration and prototyping.

Quick Start

Initialize the camera state, capture the mouse for FPS look, and update the position using delta time each frame.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: forge-camera-and-input
Download link: https://github.com/code-review-benchmark/coderabbit_prs2__forge-gpu__coderabbit__PR323__20260317/archive/main.zip#forge-camera-and-input

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.