Subject | Hash | Author | Date (UTC) |
---|---|---|---|
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 |
replaced free with jl::deallocate | ab8d6cb89f814227c280797dbe654971a85264a6 | Your Name | 2019-11-25 07:29:05 |
second initial commit | fb7a7e999477c84f10b3d618f6b00347fd0a9ca7 | Your Name | 2019-11-23 01:38:14 |
initial commit | 3dc064f64d245d1dddcbdf8493b0be0a321cb65d | Your Name | 2019-11-22 20:10:24 |
File | Lines added | Lines deleted |
---|---|---|
include/jrf/vertices.h | 7 | 1 |
File include/jrf/vertices.h changed (mode: 100644) (index 16d55ea..9ec76b3) | |||
... | ... | namespace jrf | |
32 | 32 | ||
33 | 33 | jl::array<Attribute, MAX_ATTR_COUNT> attributes; | jl::array<Attribute, MAX_ATTR_COUNT> attributes; |
34 | 34 | uint16_t attr_count; | uint16_t attr_count; |
35 | void *p_vecs; | ||
35 | uint64_t vecs_count; | ||
36 | 36 | uint64_t vecs_size; | uint64_t vecs_size; |
37 | void *p_vecs; | ||
37 | 38 | ||
38 | 39 | void destroy() { | void destroy() { |
39 | 40 | jl::deallocate(&p_vecs); | jl::deallocate(&p_vecs); |
... | ... | namespace jrf | |
53 | 54 | if (not p_io->read_items(&vecs_size)) | if (not p_io->read_items(&vecs_size)) |
54 | 55 | return Result::MEDIATOR_ERROR; | return Result::MEDIATOR_ERROR; |
55 | 56 | ||
57 | if (not p_io->read_items(&vecs_count)) | ||
58 | return Result::MEDIATOR_ERROR; | ||
59 | |||
56 | 60 | if (vecs_size == 0) | if (vecs_size == 0) |
57 | 61 | p_vecs = nullptr; | p_vecs = nullptr; |
58 | 62 | else | else |
... | ... | namespace jrf | |
76 | 80 | return Result::MEDIATOR_ERROR; | return Result::MEDIATOR_ERROR; |
77 | 81 | if (not p_io->write_items(&vecs_size)) | if (not p_io->write_items(&vecs_size)) |
78 | 82 | return Result::MEDIATOR_ERROR; | return Result::MEDIATOR_ERROR; |
83 | if (not p_io->write_items(&vecs_count)) | ||
84 | return Result::MEDIATOR_ERROR; | ||
79 | 85 | if (not p_io->write_bytes(p_vecs, vecs_size)) | if (not p_io->write_bytes(p_vecs, vecs_size)) |
80 | 86 | return Result::MEDIATOR_ERROR; | return Result::MEDIATOR_ERROR; |
81 | 87 |