/** * R3.D3.API.Effect.Anaglyph * @constructor * @param apiEffect */ R3.D3.API.Effect.Anaglyph = function( apiEffect ) { if (R3.Utils.UndefinedOrNull(apiEffect)) { apiEffect = { effectType : R3.D3.API.Effect.EFFECT_TYPE_ANAGLYPH }; } if (R3.Utils.UndefinedOrNull(apiEffect.cameraType)) { apiEffect.effectType = R3.D3.API.Effect.EFFECT_TYPE_ANAGLYPH; } R3.D3.API.Effect.call( this, apiEffect.id, apiEffect.name, apiEffect.effectType, apiEffect.parentEntity, apiEffect.renderer, apiEffect.width, apiEffect.height ); }; R3.D3.API.Effect.Anaglyph.prototype = Object.create(R3.D3.API.Effect.prototype); R3.D3.API.Effect.Anaglyph.prototype.constructor = R3.D3.API.Effect.Anaglyph;