add gradient and random effect.

This commit is contained in:
2022-08-19 10:55:29 +02:00
parent 8c7f1c6ffc
commit 1f5df2e034
13 changed files with 247 additions and 50 deletions
+5
View File
@@ -3,3 +3,8 @@ package gentools
func Ptr[T any](t T) *T {
return &t
}
func ShallowCopy[T any](t *T) *T {
tCopy := *t
return &tCopy
}