{Core,examples}: add TODO markers for core APIs that require module exposure
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
03a089610b
commit
4a000c7995
9 changed files with 17 additions and 3 deletions
|
|
@ -341,6 +341,7 @@ fn preRender(sprite_pipeline: *Mod, core: *mach.Core.Mod) void {
|
|||
// Create the projection matrix
|
||||
// TODO(sprite): move this out of the hot codepath
|
||||
const proj = math.Mat4x4.projection2D(.{
|
||||
// TODO(Core)
|
||||
.left = -@as(f32, @floatFromInt(mach.core.size().width)) / 2,
|
||||
.right = @as(f32, @floatFromInt(mach.core.size().width)) / 2,
|
||||
.bottom = -@as(f32, @floatFromInt(mach.core.size().height)) / 2,
|
||||
|
|
|
|||
|
|
@ -366,6 +366,7 @@ fn preRender(text_pipeline: *Mod, core: *mach.Core.Mod) void {
|
|||
// Create the projection matrix
|
||||
// TODO(text): move this out of the hot codepath
|
||||
const proj = math.Mat4x4.projection2D(.{
|
||||
// TODO(Core)
|
||||
.left = -@as(f32, @floatFromInt(mach.core.size().width)) / 2,
|
||||
.right = @as(f32, @floatFromInt(mach.core.size().width)) / 2,
|
||||
.bottom = -@as(f32, @floatFromInt(mach.core.size().height)) / 2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue