nc_ui/
lib.rs

1//
2// Copyright 2021-Present (c) Raja Lehtihet & Wael El Oraiby
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are met:
6//
7// 1. Redistributions of source code must retain the above copyright notice,
8// this list of conditions and the following disclaimer.
9//
10// 2. Redistributions in binary form must reproduce the above copyright notice,
11// this list of conditions and the following disclaimer in the documentation
12// and/or other materials provided with the distribution.
13//
14// 3. Neither the name of the copyright holder nor the names of its contributors
15// may be used to endorse or promote products derived from this software without
16// specific prior written permission.
17//
18// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
22// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28// POSSIBILITY OF SUCH DAMAGE.
29//
30//
31// Copyright (c) 2021 cohaereo
32//
33// Permission is hereby granted, free of charge, to any
34// person obtaining a copy of this software and associated
35// documentation files (the "Software"), to deal in the
36// Software without restriction, including without
37// limitation the rights to use, copy, modify, merge,
38// publish, distribute, sublicense, and/or sell copies of
39// the Software, and to permit persons to whom the Software
40// is furnished to do so, subject to the following
41// conditions:
42//
43// The above copyright notice and this permission notice
44// shall be included in all copies or substantial portions
45// of the Software.
46//
47// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
48// ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
49// TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
50// PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
51// SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
52// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
53// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
54// IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
55// DEALINGS IN THE SOFTWARE.
56//
57mod painter;
58mod input;
59mod clipboard;
60
61pub use painter::*;
62pub use input::*;
63
64pub mod nc_renderer {
65    pub use nc_renderer::*;
66}
67
68pub mod rs_math3d {
69    pub use nc_renderer::rs_math3d::*;
70}
71
72pub extern crate glfw;
73pub extern crate egui;