From 7a0fb98f7aa7b619f840e5bbc8a57c366b73d405 Mon Sep 17 00:00:00 2001 From: Mike Bell Date: Sun, 17 Nov 2024 16:00:23 +0000 Subject: [PATCH] PicoVector: Fix C++ example compilation. --- examples/pico_display_2/pico_display_2_vector.cpp | 2 +- examples/pico_w_explorer/pico_w_explorer_vector.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/pico_display_2/pico_display_2_vector.cpp b/examples/pico_display_2/pico_display_2_vector.cpp index 47c2a468e..d267c8284 100644 --- a/examples/pico_display_2/pico_display_2_vector.cpp +++ b/examples/pico_display_2/pico_display_2_vector.cpp @@ -51,7 +51,7 @@ int main() { pp_mat3_translate(&pos, 50, 50); pp_mat3_rotate(&pos, a); vector.draw(poly); - vector.text("Hello World", &pos); + vector.text("Hello World", 0, 0, &pos); // update screen st7789.update(&graphics); diff --git a/examples/pico_w_explorer/pico_w_explorer_vector.cpp b/examples/pico_w_explorer/pico_w_explorer_vector.cpp index 82cc29d8e..6fc3b53c0 100644 --- a/examples/pico_w_explorer/pico_w_explorer_vector.cpp +++ b/examples/pico_w_explorer/pico_w_explorer_vector.cpp @@ -41,8 +41,8 @@ int main() { vector.draw(poly); - //pp_mat3_t t = pp_mat3_identity(); - //vector.text("Hello World", {0, 0}, &t); + pp_mat3_t t = pp_mat3_identity(); + vector.text("Hello World", 0, 0, &t); // update screen st7789.update(&graphics);