Skip to content

Commit

Permalink
add content of 3d model
Browse files Browse the repository at this point in the history
  • Loading branch information
rahelarnold98 committed Mar 12, 2024
1 parent 4d1f9cb commit 4a9088f
Showing 1 changed file with 11 additions and 1 deletion.
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
}

0 comments on commit 4a9088f

Please sign in to comment.