18 lines
340 B
Python
18 lines
340 B
Python
# Python imports
|
|
|
|
# Lib imports
|
|
from ursina import *
|
|
|
|
# Application imports
|
|
|
|
|
|
class TerrainMesh(Entity):
|
|
""" docstring for TerrainMesh. """
|
|
|
|
def __init__(self):
|
|
super(TerrainMesh, self).__init__()
|
|
|
|
self.model = Terrain('heightmap_1', skip=8)
|
|
self.scale = (40, 5, 20)
|
|
self.texture = 'heightmap_1'
|