Skip to content

Commit 5fd4508

Browse files
committed
refac: tweaks to repo structure
1 parent 281044e commit 5fd4508

149 files changed

Lines changed: 52809 additions & 1362 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
*.lib binary
2525

2626
# vendored code
27-
dependencies/* linguist-vendored
27+
thirdparty/* linguist-vendored

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
cd ../src
7171
chmod +x build.sh
7272
pvs-studio-analyzer trace -- ./build.sh
73-
pvs-studio-analyzer analyze -e ../dependencies -l ../pvs-studio.lic -o ../pvs-studio.log
73+
pvs-studio-analyzer analyze -e ../thirdparty -l ../pvs-studio.lic -o ../pvs-studio.log
7474
plog-converter -a 'GA:1,2;OP:1' -d V595,V1004,V575 -t html -o ../pvs-studio.html -w ../pvs-studio.log
7575
- name: Archive Results
7676
if: ${{ always() }}

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ cache/
1515
internal/demo/model-index.json
1616
internal/sandbox/model-index.json
1717

18+
# assets
19+
assets/development
20+
assets/gltf-samples
21+
assets/*.zip
22+
1823
# python
1924
build/__pycache__/
2025
scripts/__pycache__/

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ Information for developers can be found in the [wiki](https://github.com/PilotLi
3535
* [contributing](https://github.com/PilotLightTech/pilotlight/wiki/Contributing)
3636
* [style guide](https://github.com/PilotLightTech/pilotlight/wiki/Style-Guide)
3737

38-
A template application can be found [here](https://git.pilotlight.tech/pilotlight/pl-template).
39-
4038
## Folder Structure
41-
* <ins>dependencies</ins> - Contains any third party libraries.
39+
* <ins>assets</ins> - Contains assets for development.
40+
* <ins>thirdparty</ins> - Contains any third party libraries.
4241
* <ins>docs</ins> - Contains documentation for the project.
4342
* <ins>examples</ins> - Contains small complete examples that utilize stable APIs & extensions
4443
* <ins>extensions</ins> - Contains extensions (most functionality is provided through these extensions).

assets/core/environments/sky.hdr

19.7 MB
Binary file not shown.
42.9 KB
Binary file not shown.

assets/core/fonts/fa-solid-900.otf

1000 KB
Binary file not shown.
3.6 MB
Binary file not shown.

assets/core/models/gltf/floor.bin

140 Bytes
Binary file not shown.

assets/core/models/gltf/floor.gltf

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
{
2+
"asset":{
3+
"generator":"Khronos glTF Blender I/O v4.1.63",
4+
"version":"2.0"
5+
},
6+
"scene":0,
7+
"scenes":[
8+
{
9+
"name":"Scene",
10+
"nodes":[
11+
0
12+
]
13+
}
14+
],
15+
"nodes":[
16+
{
17+
"mesh":0,
18+
"name":"Plane",
19+
"scale":[
20+
5,
21+
5,
22+
5
23+
]
24+
}
25+
],
26+
"materials":[
27+
{
28+
"doubleSided":true,
29+
"name":"Material.001",
30+
"pbrMetallicRoughness":{
31+
"baseColorFactor":[
32+
0.21403177082538605,
33+
0.21403177082538605,
34+
0.21403177082538605,
35+
1
36+
],
37+
"metallicFactor":0,
38+
"roughnessFactor":0.5
39+
}
40+
}
41+
],
42+
"meshes":[
43+
{
44+
"name":"Plane.001",
45+
"primitives":[
46+
{
47+
"attributes":{
48+
"POSITION":0,
49+
"NORMAL":1,
50+
"TEXCOORD_0":2
51+
},
52+
"indices":3,
53+
"material":0
54+
}
55+
]
56+
}
57+
],
58+
"accessors":[
59+
{
60+
"bufferView":0,
61+
"componentType":5126,
62+
"count":4,
63+
"max":[
64+
1,
65+
0,
66+
1
67+
],
68+
"min":[
69+
-1,
70+
0,
71+
-1
72+
],
73+
"type":"VEC3"
74+
},
75+
{
76+
"bufferView":1,
77+
"componentType":5126,
78+
"count":4,
79+
"type":"VEC3"
80+
},
81+
{
82+
"bufferView":2,
83+
"componentType":5126,
84+
"count":4,
85+
"type":"VEC2"
86+
},
87+
{
88+
"bufferView":3,
89+
"componentType":5123,
90+
"count":6,
91+
"type":"SCALAR"
92+
}
93+
],
94+
"bufferViews":[
95+
{
96+
"buffer":0,
97+
"byteLength":48,
98+
"byteOffset":0,
99+
"target":34962
100+
},
101+
{
102+
"buffer":0,
103+
"byteLength":48,
104+
"byteOffset":48,
105+
"target":34962
106+
},
107+
{
108+
"buffer":0,
109+
"byteLength":32,
110+
"byteOffset":96,
111+
"target":34962
112+
},
113+
{
114+
"buffer":0,
115+
"byteLength":12,
116+
"byteOffset":128,
117+
"target":34963
118+
}
119+
],
120+
"buffers":[
121+
{
122+
"byteLength":140,
123+
"uri":"floor.bin"
124+
}
125+
]
126+
}

0 commit comments

Comments
 (0)