Showing 226 of 659 total issues
Method render_buffer
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def render_buffer(camera, lights, fog, material, geometry_group, object)
Method initialize
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def initialize(radius = 100.0, tube = 40.0, radial_segments = 64, tubular_segments = 8, p_val = 2, q_val = 3)
Method render_buffer
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def render_buffer(camera, lights, fog, material, geometry_group, update_buffers)
Method render_buffer
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def render_buffer(camera, lights, fog, material, geometry_group, update_buffers)
Avoid deeply nested control flow statements. Open
Open
elsif custom_attribute[:size] == 4
if custom_attribute[:bound_to].nil? || custom_attribute[:bound_to] == :vertices
@faces3.each do |chf|
face = obj_faces[chf]
Method initialize
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def initialize(color = nil, intensity = 1.0, distance = 0.0, angle = (::Math::PI / 3.0), exponent = 10.0, decay = 1.0)
Avoid deeply nested control flow statements. Open
Open
if m31.abs < 0.99999
@x = ::Math.atan2(m32, m33)
@z = ::Math.atan2(m21, m11)
else
@x = 0.0
Avoid deeply nested control flow statements. Open
Open
elsif order == 'YZX'
@z = ::Math.asin(Math.clamp(m21, -1.0, 1.0))
if m21.abs < 0.99999
@x = ::Math.atan2(- m23, m22)
@y = ::Math.atan2(- m31, m11)
Avoid deeply nested control flow statements. Open
Open
s1 = (s0 > 0) ? seg_extent : [[-seg_extent, -b1].max, seg_extent].min
Method initialize
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def initialize(a, b, c, normal = nil, color = nil, material_index = nil)
Method initialize
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def initialize(radius = 100.0, tube = 40.0, radial_segments = 8, tubular_segments = 6, arc = (::Math::PI * 2.0))
Method intersect_triangle
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def intersect_triangle(a, b, c, backface_culling, target = Mittsu::Vector3.new)
Method set_program
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def set_program(camera, lights, fog, material, object)
Method test_point
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def test_point(point, index, local_threshold, raycaster, intersects)
Method calculate_position_on_curve
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def calculate_position_on_curve(u, p_val, q_val, radius, position)
Method render_objects
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def render_objects(render_list, camera, lights, fog, override_material)
Method barycoord_from_point
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def self.barycoord_from_point(point, a, b, c, target = Mittsu::Vector3.new)
Method map_linear
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def self.map_linear(x, a1, a2, b1, b2)
Method set_array2
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def set_array2(array, i2, a, b = a, c = b)
Method set_xyzw
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def set_xyzw(index, x, y, z, w)