rattletrap-6.0.2: library/Rattletrap/Type/Vector.hs
{-# LANGUAGE TemplateHaskell #-}
module Rattletrap.Type.Vector
( Vector(..)
)
where
import Rattletrap.Type.Common
import Rattletrap.Type.CompressedWord
data Vector = Vector
{ vectorSize :: CompressedWord
, vectorBias :: Word
, vectorX :: Int
, vectorY :: Int
, vectorZ :: Int
} deriving (Eq, Ord, Show)
$(deriveJson ''Vector)