Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


https://bugs.documentfoundation.org/show_bug.cgi?id=86190

--- Comment #3 from Zsolt Bölöny <bolony.zsolt@gmail.com> ---
I'm interested in this, as I have some experiences with GLM, but the task is
not completely clear to me.

What methods should I overload to return GLM datatypes? Basegfx mostly contains
classes which are used widespread in the codebase. There are two things I can
think of: 1) keep the current classes and use them as a wrapper around the
corresponding GLM types (e.g. use a glm::dvec2 instead of two doubles in
B2DVector), or 2) completely get rid of basegfx's vectors and matrices, find
out where they're used, replace them with GLM ones and put the additional
helper methods (like matrix inversion, etc.) into new class(es).

The first scenario is this easy-hack is about, I think (plus the writing of
conversion functions between basegfx and GLM types).

Please somebody confirm what I think is correct, so I can start hacking.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.