<html>
<head>
<base href="https://bugs.documentfoundation.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - use GLM library instead of basegfx"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=86190#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - use GLM library instead of basegfx"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=86190">bug 86190</a>
from <span class="vcard"><a class="email" href="mailto:bolony.zsolt@gmail.com" title="Zsolt Bölöny <bolony.zsolt@gmail.com>"> <span class="fn">Zsolt Bölöny</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>