Add accessors for vect and matrix classes to the underlying data
This commit is contained in:
parent
5e4b3241aa
commit
a3cc27237b
1 changed files with 3 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
(uiop:define-package :stoe/maths/types
|
||||
(:use :cl)
|
||||
(:export #:vect #:array
|
||||
(:export #:vect #:array-of
|
||||
#:int2 #:int3 #:int4
|
||||
#:float2 #:float3 #:float4
|
||||
#:quaternion
|
||||
|
|
@ -18,6 +18,7 @@
|
|||
(defclass vect ()
|
||||
((array :type (array * (*))
|
||||
:initarg :array
|
||||
:accessor array-of
|
||||
:documentation "The internal representation of the vector")))
|
||||
|
||||
(defclass int2 (vect)
|
||||
|
|
@ -46,6 +47,7 @@
|
|||
:documentation "The dimensions of the matrix")
|
||||
(array :type (array * (*))
|
||||
:initarg :array
|
||||
:accessor array-of
|
||||
:documentation "The internal representation of the matrix")))
|
||||
|
||||
(defclass int22 (matrix)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue