-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.rs
50 lines (40 loc) · 828 Bytes
/
main.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// This is a comment, and will be ignored by the compiler
// You can test this code by clicking the "Run" button over there ->
// or if prefer to use your keyboard, you can use the "Ctrl + Enter" shortcut
extern crate conrad:
extern crate gluon;
extern crate nalgebra;
extern crate nphysics;
extern crate num_cpus;
extern crate openvr-rs;
extern crate specs;
extern crate vulkano;
use vulkano;
use specs;
use nphysics;
// GET OPERATING SYSTEM
fn HARDWARE() {
;
}
// count logical cores this process could try to use
let num = num_cpus::get();
// GET HARDWARE DEVICES
fn HARDWARE() {
;
}
// INIT REFUSE RENDERER
fn INITRENDERER() {
let mut init= init_renderer::()
}
// DEINIT REFUSE RENDERER
fn DEINITRENDERER() {
;
}
// INIT WINDOW
fn INITWINDOW() {
;
}
// DEINIT WINDOW
fn DEINITWINDOW() {
;
}