subsurface/smtk-import
Berthold Stoeger 77b12bbccf core: add cast_int<> function
We had a pattern where doubles were converted to long with
lrint() and then down-cast to a narrower int type.

Because this is unwieldy, introduce a function encapsulating
this.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-09-11 10:23:07 +02:00
..
cmake/Modules Windows: Fix smtk-import Build. 2024-08-17 23:33:58 +12:00
CMakeLists.txt import: compile smartrak.cpp as C++ 2024-04-23 07:47:11 +07:00
smartrak.cpp core: add cast_int<> function 2024-09-11 10:23:07 +02:00
smrtk2ssrfc_window.cpp core: use std::string in error_callback 2024-08-13 19:28:30 +02:00
smrtk2ssrfc_window.h build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
smrtk2ssrfc_window.ui Use icons relative path. 2017-11-30 23:14:46 -08:00
smtk2ssrf.desktop smtk-import: Add smtk2ssrf.desktop to sources 2018-02-24 13:42:01 -08:00
smtk_standalone.cpp Replace qDebug() by report_info() in smtk-import 2024-04-23 07:47:11 +07:00