Antoine.YVAN Posted March 17, 2022 Share Posted March 17, 2022 Hello ! In Unigine 2.14 I was using the method getZeroDirections from the IG::Converter class. When I upgraded to 2.15 I noticed the method is now gone and it is not explained in the migration guide on how to replace it. Can you show me how to replace it to get the same values ? Maybe with using getZeroBasis ? Thanks, Antoine Link to comment
cash-metall Posted March 18, 2022 Share Posted March 18, 2022 Hello! yes, this method has been removed because duplicated method getZeroBasis Mat4 zero_basis = converter->getZeroBasis(geo_pos); vec3 east = vec3(zero_basis.getAxisX()); vec3 north = vec3(zero_basis.getAxisY()); vec3 up = vec3(zero_basis.getAxisZ()); Link to comment
Recommended Posts