Subject | Hash | Author | Date (UTC) |
---|---|---|---|
better read errors | d6d7bc5df695d694ea0dee225905212ef1dfe41b | jp.larry | 2019-12-26 13:18:55 |
changed vertices file structure to prevent undefined behaviour | 603e283ccf234f87f6e8c38a669280be36a5aafb | jp.larry | 2019-12-26 12:35:05 |
vertex attributes is separated, not inteleaved now | d3e7b79c74e9fae7b8b788d1a55db2e664feb107 | jp.larry | 2019-12-26 01:19:17 |
compiled on windows with mingw | 51eacaf02dd542415cea1edd615d88234fb5b344 | Jackalope | 2019-12-15 07:05:58 |
added mesh to read and write functions | 173144a8516441420feb4327a66d26fa3f57376d | Your Name | 2019-12-07 22:09:04 |
warning hidden by implicit cast | f49b32439aa1e8719bd340da9fc3bb7e9b906d0d | Your Name | 2019-12-07 21:01:08 |
Vertices have vertices count value | cf3b63932cdcdb88b72e70df93a4dd8b478d163b | jp.larry | 2019-12-07 16:02:55 |
removed IndicesArrays, added Mesh resource and Vertices attributes is not dynamically allocated | a54a61cfc285bbec4246b1affdc5fe9251c059d0 | jp.larry | 2019-12-06 17:04:06 |
new obj file error | f4385161fdd1ad8038e2d0924e1d3de2a6506cc9 | Your Name | 2019-12-01 10:26:18 |
scene issues solved | cef4ba84d44cbdc6690c87e553df9fbfba60059f | Your Name | 2019-12-01 04:19:29 |
changed transformation matrix to 4x4 from 3x3 | 5b5728dabefb471cf126bf4b524f5079a14c0735 | Your Name | 2019-11-30 15:16:50 |
added missing return | 94644ed6f61207f664ac4675fa015afbe017ddea | jp.larry | 2019-11-29 09:03:14 |
scene improvements, changed shift type to unsigned, set default-value funtions, model must be path | a2708b94b88eb0ede73b9aab396e7a13f13baa52 | Your Name | 2019-11-29 09:27:32 |
separate function for str reading | 9127f9a18f9f4974975fa35d58f596952b6aa4e5 | Your Name | 2019-11-29 09:26:43 |
new result errors | ef56e017e2e761fdf23c6a64ed33277c98569e13 | Your Name | 2019-11-29 09:26:12 |
new types for Scene | e2fde0d2b66e125ba3bfd86b8f51c81ecb5ab047 | Your Name | 2019-11-29 00:38:27 |
shift scale added to Scene | 974752944e73bbc2949ff399ab9d806baeeab751 | Your Name | 2019-11-29 00:38:06 |
new resource type - scene - list of models | f3eea43135dad8b3e24cf6683e5abc1a5e2e57ad | Your Name | 2019-11-28 07:59:59 |
model correctly handling error returns | 3df9ec0f9abed56709b8b9556a5291217ad8744d | Your Name | 2019-11-28 07:59:25 |
updated jlib | 2a28ba18170dc757f7bad931a12a34ee3e7e1c46 | Your Name | 2019-11-27 03:44:11 |
File | Lines added | Lines deleted |
---|---|---|
include/jrf/read.h | 6 | 0 |
include/jrf/result.h | 2 | 2 |
src/result.cpp | 2 | 2 |
File include/jrf/read.h changed (mode: 100644) (index 6a7492d..cb2c8fd) | |||
... | ... | namespace jrf | |
65 | 65 | m.init(f_data, fsize); | m.init(f_data, fsize); |
66 | 66 | auto res = read<RT>(&m, p_resource); | auto res = read<RT>(&m, p_resource); |
67 | 67 | jl::deallocate(&f_data); | jl::deallocate(&f_data); |
68 | if (res == Result::MEDIATOR_ERROR) | ||
69 | if (m.is_end()) | ||
70 | return Result::FILE_UNEXPECTED_EOF; | ||
68 | 71 | return res; | return res; |
69 | 72 | } | } |
70 | 73 | ||
... | ... | namespace jrf | |
88 | 91 | m.init(f_data, fsize); | m.init(f_data, fsize); |
89 | 92 | auto res = read<RT>(&m, p_resource); | auto res = read<RT>(&m, p_resource); |
90 | 93 | jl::deallocate(&f_data); | jl::deallocate(&f_data); |
94 | if (res == Result::MEDIATOR_ERROR) | ||
95 | if (m.is_end()) | ||
96 | return Result::FILE_UNEXPECTED_EOF; | ||
91 | 97 | return res; | return res; |
92 | 98 | } | } |
93 | 99 |
File include/jrf/result.h changed (mode: 100644) (index 07271ac..2a74982) | |||
... | ... | namespace jrf | |
53 | 53 | RESOURCE_PART_OVERLAP, | RESOURCE_PART_OVERLAP, |
54 | 54 | RESOURCE_TYPE_MISMATCH, | RESOURCE_TYPE_MISMATCH, |
55 | 55 | SCENE_ENTRY_MODEL_IS_NOT_PATH, | SCENE_ENTRY_MODEL_IS_NOT_PATH, |
56 | FILE_WRONG_HEADER, | ||
57 | 56 | ||
58 | //file | ||
57 | FILE_WRONG_HEADER, | ||
59 | 58 | FILE_OPEN_ERROR, | FILE_OPEN_ERROR, |
60 | 59 | FILE_NO_DATA, | FILE_NO_DATA, |
61 | 60 | DIRECTORY_ERROR, | DIRECTORY_ERROR, |
61 | FILE_UNEXPECTED_EOF, | ||
62 | 62 | ||
63 | 63 | //zip | //zip |
64 | 64 | ZIP_IN_ZIP_UNSUPPORTED, | ZIP_IN_ZIP_UNSUPPORTED, |
File src/result.cpp changed (mode: 100644) (index 497dce7..4441e7d) | |||
... | ... | const char* jrf::to_str(jrf::Result result) | |
29 | 29 | STR(RESOURCE_PART_OVERLAP) | STR(RESOURCE_PART_OVERLAP) |
30 | 30 | STR(RESOURCE_TYPE_MISMATCH) | STR(RESOURCE_TYPE_MISMATCH) |
31 | 31 | STR(SCENE_ENTRY_MODEL_IS_NOT_PATH) | STR(SCENE_ENTRY_MODEL_IS_NOT_PATH) |
32 | STR(FILE_WRONG_HEADER) | ||
33 | 32 | ||
34 | //file | ||
33 | STR(FILE_WRONG_HEADER) | ||
35 | 34 | STR(FILE_OPEN_ERROR) | STR(FILE_OPEN_ERROR) |
36 | 35 | STR(FILE_NO_DATA) | STR(FILE_NO_DATA) |
37 | 36 | STR(DIRECTORY_ERROR) | STR(DIRECTORY_ERROR) |
37 | STR(FILE_UNEXPECTED_EOF) | ||
38 | 38 | ||
39 | 39 | //zip | //zip |
40 | 40 | STR(ZIP_IN_ZIP_UNSUPPORTED) | STR(ZIP_IN_ZIP_UNSUPPORTED) |