Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
HFT-informatics-weekend
AR - Urban Planner
Commits
9f102963
Commit
9f102963
authored
Oct 12, 2025
by
hftroesch
Browse files
add pizza
parent
4c6160de
Changes
2
Hide whitespace changes
Inline
Side-by-side
webxr-cube/public/food/pizza.glb
0 → 100644
View file @
9f102963
webxr-cube/src/model/ModelType.ts
View file @
9f102963
...
...
@@ -16,6 +16,7 @@ export enum ModelName {
BURGER
=
'
Burger
'
,
CROISSANT
=
'
Croissant
'
,
PIZZA_BOX
=
'
Pizza Box
'
,
PIZZA
=
'
Pizza
'
}
export
const
ModelEmojiMap
:
Record
<
ModelName
,
string
>
=
{
...
...
@@ -28,6 +29,7 @@ export const ModelEmojiMap: Record<ModelName, string> = {
[
ModelName
.
BURGER
]:
'
🍔
'
,
[
ModelName
.
CROISSANT
]:
'
🥐
'
,
[
ModelName
.
PIZZA_BOX
]:
'
🍕
'
,
[
ModelName
.
PIZZA
]:
'
🍕
'
,
};
export
const
ModelTypeMap
:
Record
<
ModelName
,
ModelType
>
=
{
...
...
@@ -40,6 +42,7 @@ export const ModelTypeMap: Record<ModelName, ModelType> = {
[
ModelName
.
BURGER
]:
ModelType
.
FOOD
,
[
ModelName
.
CROISSANT
]:
ModelType
.
FOOD
,
[
ModelName
.
PIZZA_BOX
]:
ModelType
.
FOOD
,
[
ModelName
.
PIZZA
]:
ModelType
.
FOOD
,
};
export
function
getModelPath
(
name
:
ModelName
):
string
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment