Skip to content

Latest commit

 

History

History
78 lines (53 loc) · 2.57 KB

NOTES.md

File metadata and controls

78 lines (53 loc) · 2.57 KB

Videos

Playlist

Tools

Ideas/Examples

Lists

Animations

Blockchain

Camera

let camera_pos = transform.translation;
let half_width = (window.width() / 2.0) * projection.scale;
let half_height = (window.height() / 2.0) * projection.scale;
let min_x = camera_pos.x - half_width;
let max_x = camera_pos.x + half_width;
let min_y = camera_pos.y - half_height;
let max_y = camera_pos.y + half_height;

ECS

Physics

UI