Home
last modified time | relevance | path

Searched refs:invRadius (Results 1 – 3 of 3) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/light/
DPointLight.java57 protected float invRadius = 0; field in PointLight
118 this.invRadius = 1 / radius; in setRadius()
120 this.invRadius = 0; in setRadius()
129 return invRadius; in getInvRadius()
152 this.invRadius = 1 / radius; in read()
154 this.invRadius = 0; in read()
/external/jmonkeyengine/engine/src/core/com/jme3/material/
DMaterial.java683 float invRadius = pl.getInvRadius(); in updateLightListUniforms() local
684 … lightPos.setVector4InArray(pos.getX(), pos.getY(), pos.getZ(), invRadius, lightIndex); in updateLightListUniforms() local
768 float invRadius = pl.getInvRadius(); in renderMultipassLighting() local
770 tmpLightPosition.set(pos.getX(), pos.getY(), pos.getZ(), invRadius); in renderMultipassLighting() local
/external/skia/src/effects/gradients/
DSkTwoPointConicalGradient_gpu.cpp327 SkScalar invRadius = 1.f / radius; in set_matrix_focal_conical() local
332 matrix.postScale(invRadius, invRadius); in set_matrix_focal_conical()