Martín Andrighetti

Results 8 issues of Martín Andrighetti

Modern event handlers seem pretty broken when declared inside a function. As a minimal example, this code: function foo() { event mousedown { stdout.println("M") } stdout.println("R") } foo() Results in...

I'm in a situation where I would like to `slerp` two `Vec3`s, something like the following pseudocode: ``` fn slerp(from: Vec3, to: Vec3, alpha: f32): angle = angle_between(from, to) *...

enhancement

This generator currently supports OpenAPI 3.0 only. Currently we're blocked on upgrading FastAPI due to the lack of support for OpenAPI 3.1 from `openapi-typescript-codegen`. Related issues: #1834, #1645, #1643.

This small change saves 4 copies of T in my debug tests, even preventing a stack overflow in my user code. Only makes a difference when building in debug mode...

Noticed that in `0.7`, `from_rotation_y` rotated around the `-Y` axis, but it now rotates around the `+Y` axis, in a right-handed coordinate system. I like the new behaviour, it's a...

### Description I think the issue is best described in the following image: ![image](https://github.com/typst/typst/assets/7827085/c537df4f-1324-4e1a-a2c3-06e956dbf828) Basically, bold text-mode subscripts have very wonky positioning. This issue does not affect superscripts or math-mode...

bug
text

Like I mentioned in #569, this PR adds more detailed documentation to the `Mat4::perspective_*` and `Mat4::orthographic_*` family of functions, as well as adding `Mat4::perspective_rh_vk` and `Mat4::orthographic_rh_vk`. I initially wrote a...

Hello! I got very confused choosing the proper `Mat4::perspective_*` function. I think they could be documented a lot better. In particular, listing from what coordinate system they are mapping from,...