Skip to content

Commit

Permalink
Refactor one example program name and tweak colourmaps prog titles
Browse files Browse the repository at this point in the history
  • Loading branch information
sebjameswml committed Oct 14, 2024
1 parent ce7f9ba commit a567db9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@ if(ARMADILLO_FOUND)
target_link_libraries(hexgrid GLEW::GLEW)
endif()

add_executable(colourbars colourbars.cpp)
target_link_libraries(colourbars OpenGL::GL glfw Freetype::Freetype)
add_executable(colourbar colourbar.cpp)
target_link_libraries(colourbar OpenGL::GL glfw Freetype::Freetype)
if(USE_GLEW)
target_link_libraries(colourbars GLEW::GLEW)
target_link_libraries(colourbar GLEW::GLEW)
endif()

add_executable(unicode_coordaxes unicode_coordaxes.cpp)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/colourmaps_cet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ int main()
{
// Contructor args are width, height, title, coordinate arrows offset, cooridnate
// arrows lengths, coord arrow thickness, coord arrow font size (0 means no labels)
std::string title_str = "ColourMaps from CET";
std::string title_str = "ColourMaps from colorcet.com";
morph::Visual v(1400, 1250, title_str);
v.setSceneTrans (morph::vec<float,3>{ float{-2.45365}, float{1.74889}, float{-9} });

Expand Down
2 changes: 1 addition & 1 deletion examples/colourmaps_crameri.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ int main()
{
// Contructor args are width, height, title, coordinate arrows offset, cooridnate
// arrows lengths, coord arrow thickness, coord arrow font size (0 means no labels)
std::string title_str = "ColourMaps";
std::string title_str = "ColourMaps from Fabio Crameri";
morph::Visual v(1000, 1400, title_str);
v.setSceneTrans (morph::vec<float,3>{ float{-1.52137}, float{1.74665}, float{-9.60001} });

Expand Down

0 comments on commit a567db9

Please sign in to comment.