mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-02-04 17:05:39 +00:00
* Param refactor collected all the code that reached inside Param (InitCond, Per*Eqn, Expr, Parser) to read/write and stuffed it all back into Param.cpp made Param extend Expr to avoid any perf penalty (I actually think eval() is a tiny bit faster now) * presets/tests * ALWAYS_MATRIX is used with PER_POINT * use SSE2 to impove initialize_PerPixelMeshes() performance * TestRunner very, very simple test framework, but it's better than no framework (consider investigating adopting something) * ProgramExpr
20 lines
326 B
Plaintext
Executable File
20 lines
326 B
Plaintext
Executable File
[preset00]
|
|
per_frame_1000=// one per frame equation
|
|
per_frame_1001=// test multiple equations one line
|
|
|
|
fDecay=0.98
|
|
zoom=0
|
|
rot=0.0
|
|
warp=0.0
|
|
ob_size=0.2
|
|
ob_r=0.0
|
|
ob_g=0.0
|
|
ob_b=0.0
|
|
ob_a=0.0
|
|
ib_size=0.1
|
|
ib_r=0.0
|
|
ib_g=0.0
|
|
ib_b=0.0
|
|
ib_a=1.0
|
|
|
|
per_frame_1=ib_r=0.7+0.4*sin(3*time); ib_g=0.7+0.4*sin(4*time); ib_b=0.7+0.4*sin(5*time); |