mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 04:58:59 -05:00
163ac4dcef
- Fixes for all files - constexpr cleanup - Cosmetic changes - Remove punctuation from the end of messages
27 lines
580 B
Lua
27 lines
580 B
Lua
local item = {
|
|
Type = "DashboardItemVelocity",
|
|
Identifier = "CameraVelocity",
|
|
Simplification = true,
|
|
GuiName = "Camera Velocity"
|
|
}
|
|
|
|
asset.onInitialize(function()
|
|
openspace.dashboard.addDashboardItem(item)
|
|
end)
|
|
|
|
asset.onDeinitialize(function()
|
|
openspace.dashboard.removeDashboardItem(item)
|
|
end)
|
|
|
|
asset.export(item)
|
|
|
|
|
|
asset.meta = {
|
|
Name = "Dashboard - Velocity",
|
|
Version = "1.0",
|
|
Description = "This asset provides a dashboard item that shows the camera's velocity",
|
|
Author = "OpenSpace Team",
|
|
URL = "http://openspaceproject.com",
|
|
License = "MIT license"
|
|
}
|