add trafo interactability to perl binding

This commit is contained in:
Michael Kirsch 2019-07-07 16:06:07 +02:00 committed by Joseph Lenox
parent d42914a285
commit e98038801a

View File

@ -334,6 +334,8 @@ ModelMaterial::attributes()
%code%{ RETVAL = THIS->scaling_factor; %}; %code%{ RETVAL = THIS->scaling_factor; %};
Ref<Pointf> offset() Ref<Pointf> offset()
%code%{ RETVAL = &THIS->offset; %}; %code%{ RETVAL = &THIS->offset; %};
Ref<TransformationMatrix> additional_trafo()
%code%{ RETVAL = &THIS->additional_trafo; %};
void set_rotation(double val) void set_rotation(double val)
%code%{ THIS->rotation = val; %}; %code%{ THIS->rotation = val; %};