aliases.ps1

# VERBS - from https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/approved-verbs-for-windows-powershell-commands?view=powershell-7
# New = n
# Get = g
# Out = o

# NOUNS
# Point = pt
# Vector = vec
# Matrix = mat
# Color = col
# Vertex = vert
# Face = face
# Mesh = mesh
# Array = arr
# Identity = i
# Zero = z
# Rotation = rot
# Scale = sc
# Translate = tr
# Box = box
# Cube = cube
# Sphere = sph
# Cylinder = cyl
# Cone = cone
# Torus = tor
# Plane = pln
# Teapot = teapot
# Suzanne = suz
# Bunny = bunny
# Light = light
# Material = mtl
# CornellBox = cbox

Set-Alias -Name npt -Value New-Point
Set-Alias -Name nptarr -Value New-PointArray

Set-Alias -Name nvec -Value New-Vector
Set-Alias -Name nvecarr -Value New-VectorArray

Set-Alias -Name nmat -Value New-Matrix
Set-Alias -Name nmatarr -Value New-MatrixArray

Set-Alias -Name ncol -Value New-Color
Set-Alias -Name nvert -Value New-Vertex
Set-Alias -Name nface -Value New-Face
Set-Alias -Name nmesh -Value New-Mesh

Set-Alias -Name nbox -Value New-Box
Set-Alias -Name ncube -Value New-Cube
Set-Alias -Name nsph -Value New-Sphere
Set-Alias -Name ncyl -Value New-Cylinder
Set-Alias -Name ncone -Value New-Cone
Set-Alias -Name ntor -Value New-Torus
Set-Alias -Name npln -Value New-Plane

Set-Alias -Name nteapot -Value New-Teapot
Set-Alias -Name nsuz -Value New-Suzanne
Set-Alias -Name nbunny -Value New-StanfordBunny

Set-Alias -Name nlight -Value New-Light
Set-Alias -Name nmtl -Value New-Material
Set-Alias -Name ncbox -Value New-CornellBox

Set-Alias -Name nimat -Value New-IdentityMatrix
Set-Alias -Name nzmat -Value New-ZeroMatrix

Set-Alias -Name nrotxmat -Value New-RotateXMatrix
Set-Alias -Name nrotymat -Value New-RotateYMatrix
Set-Alias -Name nrotzmat -Value New-RotateZMatrix

Set-Alias -Name nscmat -Value New-ScaleMatrix

Set-Alias -Name ntrmatxyz -Value New-TranslateMatrixXYZ
Set-Alias -Name ntrmatvec -Value New-TranslateMatrixVector

Set-Alias -Name gcp -Value Get-CrossProduct
Set-Alias -Name cross -Value Get-CrossProduct

Set-Alias -Name gdp -Value Get-DotProduct
Set-Alias -Name dot -Value Get-DotProduct