[Bug 86190] use GLM library instead of basegfx
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat May 16 08:16:58 PDT 2015
https://bugs.documentfoundation.org/show_bug.cgi?id=86190
--- Comment #3 from Zsolt Bölöny <bolony.zsolt at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150516/7d698540/attachment.html>
More information about the LibreOffice
mailing list