-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d1f9cb
commit 4a9088f
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
12 changes: 11 additions & 1 deletion
12
...gine-core/src/main/kotlin/org/vitrivr/engine/core/model/content/element/Model3DContent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
package org.vitrivr.engine.core.model.content.element | ||
|
||
import org.vitrivr.engine.core.model.content.ContentType | ||
import org.vitrivr.engine.core.model.mesh.Model3D | ||
import java.awt.image.BufferedImage | ||
|
||
/** | ||
* A 3D [ContentElement]. | ||
* | ||
* @author Rahel Arnold | ||
* @version 1.0.0 | ||
*/ | ||
interface Model3DContent: ContentElement<Model3D> | ||
interface Model3DContent: ContentElement<Model3D>{ | ||
/** The [ContentType] of a [Model3DContent] is always [ContentType.MESH]. */ | ||
|
||
val id: String | ||
get() = this.content.id | ||
|
||
override val type: ContentType | ||
get() = ContentType.MESH | ||
} |