add gradient and random effect.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user