diff options
author | admin <admin@optics-design.com> | 2025-08-04 00:35:10 +0200 |
---|---|---|
committer | admin <admin@optics-design.com> | 2025-08-04 00:35:10 +0200 |
commit | 4910356db2585e55d2876001e40b21e9b148bcc4 (patch) | |
tree | 26474e58de023c6f3913a1e11ee928f630a8b814 /include/glass_data.h | |
parent | 8332d652eac5b46d8b8b02b25d47aa5355ef31cd (diff) |
added fgla search
Diffstat (limited to 'include/glass_data.h')
-rw-r--r-- | include/glass_data.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/glass_data.h b/include/glass_data.h index 277adfa..75aedde 100644 --- a/include/glass_data.h +++ b/include/glass_data.h @@ -14,12 +14,15 @@ #define GLASS_DATA_H
#include "glamacdef.h" // For type definitions
+#include "glamac_errors.h" // For error handling
// Structure to represent an optical glass
typedef struct {
byte name[50];
f32 abbeNumber; // X-axis (vd)
f32 refractiveIndex; // Y-axis (nd)
+ byte glass_code[20]; // Glass code from manufacturer
+ byte manufacturer[20]; // Manufacturer name
} Glass;
// Get number of glasses in the catalog
@@ -40,4 +43,7 @@ void initialize_glass_data(void); // Load glasses from JSON file
b32 load_glasses_from_json(const byte* json_path, const byte* manufacturer_filter);
+// Cleanup glass data resources
+void cleanup_glass_data(void);
+
#endif /* GLASS_DATA_H */
|