Debian Codegraph @

modules/lsp-runtime-lib/src/main/fmt/obj/IObjHandler.cpp

raw
1 /*
2 * Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
3 * (C) 2025 Vladimir Sadovnikov <[email protected]>
4 *
5 * This file is part of lsp-runtime-lib
6 * Created on: 21 апр. 2017 г.
7 *
8 * lsp-runtime-lib is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * any later version.
12 *
13 * lsp-runtime-lib is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with lsp-runtime-lib. If not, see <https://www.gnu.org/licenses/>.
20 */
21
22 #include <lsp-plug.in/fmt/obj/IObjHandler.h>
23
24 namespace lsp
25 {
26 namespace obj
27 {
28 IObjHandler::~IObjHandler()
29 {
30 }
31
32 status_t IObjHandler::begin_object(const char *name)
33 {
34 return STATUS_OK;
35 }
36
37 status_t IObjHandler::begin_object(const LSPString *name)
38 {
39 return begin_object(name->get_utf8());
40 }
41
42 status_t IObjHandler::end_object()
43 {
44 return STATUS_OK;
45 }
46
47 status_t IObjHandler::end_of_data()
48 {
49 return STATUS_OK;
50 }
51
52 ssize_t IObjHandler::add_vertex(float x, float y, float z, float w)
53 {
54 return 0;
55 }
56
57 ssize_t IObjHandler::add_param_vertex(float x, float y, float z, float w)
58 {
59 return 0;
60 }
61
62 ssize_t IObjHandler::add_normal(float dx, float dy, float dz, float dn)
63 {
64 return 0;
65 }
66
67 ssize_t IObjHandler::add_texture_vertex(float u, float v, float w)
68 {
69 return 0;
70 }
71
72 ssize_t IObjHandler::add_face(const index_t *vv, const index_t *vn, const index_t *vt, size_t n)
73 {
74 return 0;
75 }
76
77 ssize_t IObjHandler::add_points(const index_t *vv, size_t n)
78 {
79 return 0;
80 }
81
82 ssize_t IObjHandler::add_line(const index_t *vv, const index_t *vt, size_t n)
83 {
84 return 0;
85 }
86
87 } /* namespace obj */
88 } /* namespace lsp */