Patrick Walton
93f5fbc6d2
Add convenience constructors: `vec2f`, `vec2i`, `Vector2F::zero()`,
...
`Vector2I::zero()`
2020-03-31 11:29:21 -07:00
Patrick Walton
0f35d9c817
Add an embedded resource loader that places resources directly in the binary.
...
This is useful for WebGL and for downstream crates.io use.
2020-02-28 17:10:53 -08:00
Adam Nemecek
3d39c5e9b7
trimmed whitespace
2020-02-27 08:13:14 -08:00
Patrick Walton
2db43797c3
Split colors out into their own crate.
...
A lot of downstream consumers of `pathfinder_gpu` want to use colors without
the path stuff.
2020-01-31 09:17:04 +01:00
Patrick Walton
bcac119324
Rename `Transform2DF` to `Transform2F` and `Transform3DF` to `Transform4F`
2019-07-11 14:59:10 -07:00
Patrick Walton
431dcf3d2e
Rename `pathfinder_geometry::basic` to simply `pathfinder_geometry`, and move
...
the remaining code in that crate to a new crate, `pathfinder_content`
The old hierarchy was confusing.
2019-06-21 10:06:19 -07:00
Patrick Walton
487577a11b
Add Metal support.
...
This commit substantially reworks the `pathfinder_gpu` API to better support
modern APIs like Metal. It should open the door to `gfx-rs`, `wgpu`, Vulkan,
and D3D12 backends relatively straightforwardly.
A new example, `canvas_metal_minimal`, has been added.
Note that the new Metal shaders require a patched version of `spirv-cross` to
build properly. An upstream patch is forthcoming.
2019-06-20 11:47:22 -07:00
Alan Jeffrey
9c641f6ce3
Renamed Point2D to Vector2
2019-06-03 17:58:34 -05:00
Alan Jeffrey
c71a20805f
Removed some unused imports
2019-06-03 17:52:18 -05:00
Alan Jeffrey
848234ef61
Updated magicleap demo for new pathfinder API
2019-06-03 17:52:18 -05:00
Alan Jeffrey
3d81bf170f
Updated to latest pf3 API
2019-04-22 11:57:24 -05:00
Alan Jeffrey
6b19234a44
Removed stats from magicleap demo
2019-04-15 13:29:32 -04:00
Alan Jeffrey
3603324437
Added copyright statement to magicleap demo files
2019-04-15 13:29:32 -04:00
Alan Jeffrey
1605a47956
Updated to new PF3 API
2019-04-15 13:29:32 -04:00
Alan Jeffrey
bc89d88222
Dead code elimination
2019-04-15 12:43:41 -04:00
Alan Jeffrey
41dc655967
Update for current Window interface
2019-04-15 12:43:41 -04:00
Alan Jeffrey
1c1eaf20d1
Get the magicleap immersive demo to respond to new file name arguments
2019-04-15 12:43:41 -04:00
Alan Jeffrey
3bd825196e
Get the magicleap immersive mode demo to take a filename argument
2019-04-15 12:43:41 -04:00
Alan Jeffrey
9fd479d604
Expose a C API for getting pathfinder to render to an EGL surface
2019-04-15 12:43:41 -04:00
Alan Jeffrey
29ef8b57e0
Use pathfinder directly for magicleap demo cube faces rather than using pathfinder_demo
2019-04-15 12:43:41 -04:00
Alan Jeffrey
685651c119
Wire up magicleap landscape demo cube faces to pathfinder demo
2019-04-15 12:43:41 -04:00
Alan Jeffrey
37c7457929
Add magicleap landscape demo
2019-04-15 12:43:41 -04:00
Alan Jeffrey
8ba56e5597
Pin the scene threads to CPUs
2019-04-15 12:43:41 -04:00
Alan Jeffrey
6642a2ce1e
Lerp the initial cameras to get the initial transform
2019-04-15 12:43:41 -04:00
Alan Jeffrey
daeee1305c
Set rayon thread pool size to be 2 in magicleap demo
2019-04-15 12:43:41 -04:00
Alan Jeffrey
838bf684fb
Add magicleap demo
2019-04-15 12:43:41 -04:00