Comments (6)
ok, thanks. done. weird. the "this" pointer should be implicit inside member functions.
from rs-met.
..well - i added the this pointer. declare variables? noo - they are inherited from the rsConicSection baseclass
from rs-met.
do you have a mac yet? i can only say what removes errors, not what makes the code work 👍
from rs-met.
the solution was to add this pointers there too:
this->A = a2*s*s + b2*c*c;
this->B = 2*(b2-a2)*s*c;
this->C = a2*c*c + b2*s*s;
this->D = -2*this->A*xc - this->B*yc;
this->E = -2*this->C*yc - this->B*xc;
this->F = this->A*xc*xc + this->B*xc*yc + this->C*yc*yc - a2*b2;
i found some explanation here:
https://stackoverflow.com/questions/4643074/why-do-i-have-to-access-template-base-class-members-through-the-this-pointer
..which basically says: something c++ reasons something something (i'm not really interested in decrypting that). what a great uglification of my code :-(
from rs-met.
you may see now, why i'm so insistent to review changes to my library. declaring those variables in rsEllipse again would have broken my code
from rs-met.
good, now please get preset system to work on Mac. Even on windows its very annoying because the plugin doesn't remember last location.
(presets cannot be located next to the dll on mac)
from rs-met.
Related Issues (20)
- Discussion: Denoiser made for plucked and metallic sounds
- Need amplitude matching algorithm ASAP HOT 74
- a new matrix implementation HOT 8
- Distinguishing relevant peaks from the irrelevant ones HOT 28
- Need resampling algorithms. HOT 24
- curve fitting (linear and polynomial regression and more) HOT 5
- function plotting code HOT 8
- Additive synthesis efficient sine? HOT 2
- chaotic algorithms and (in)stability HOT 9
- build errors HOT 1
- How do you get frequencies from HarmonicAnalyser harmonics? HOT 11
- on the amplitude gaps in the spectral models HOT 4
- rsShiftForBestMatch not working for whole waveforms HOT 6
- Locating zero-crossings and extrema with subsample precision HOT 1
- new class rsSingleSineModeler HOT 2
- rootMeanSqaure function is giving wrong value
- Need butterworth order 2 highpass filters for LUFS, code is apparently ommitted? HOT 1
- Need help with rsTimeWarper, seems to be warping off-time HOT 3
- RS_DEBUG_BREAK causes crash in non-debug builds HOT 4
- Please make a 64-bit version of FuncShaper
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rs-met.