roundrectprobe

command
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2026 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

roundrectprobe — does a rotated ROUNDED rect draw its true rotated shape?

REVIEW §6 fixed a rotated plain rect; a rounded one still took the axis-aligned path because the SDF batch carries the radius and had no angle. The batch now rotates its quad about the centre while aLocal stays unrotated, so the shader's local-space rounded-box distance yields the exact rotated shape.

Verification is by ink: the bounding box must be the analytic AABB of the rotated rect, and the AREA must be the rounded rect's own area — a bounding box or a plain rect would both be visibly larger.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL