<commit_before>package com.shade.crash;

import org.newdawn.slick.Graphics;
import org.newdawn.slick.geom.Rectangle;
import org.newdawn.slick.geom.Transform;
import org.newdawn.slick.geom.Vector2f;
import org.newdawn.slick.state.StateBasedGame;

import com.shade.base.Entity;
import com.shade.base.Level;
import com.shade.crash.util.CrashGeom;
import com.shade.util.Geom;

public class Ray extends Body {

    private float heading;

    public Ray(Body one, Body two) {
        shape = new Rectangle(one.getCenterX() - 4, one.getCenterY(), 8,<commit_msg>allowed ray to set width based on object<commit_after>package com.shade.crash;

import org.newdawn.slick.Graphics;
import org.newdawn.slick.geom.Rectangle;
import org.newdawn.slick.geom.Transform;
import org.newdawn.slick.geom.Vector2f;
import org.newdawn.slick.state.StateBasedGame;

import com.shade.base.Entity;
import com.shade.base.Level;
import com.shade.crash.util.CrashGeom;
import com.shade.util.Geom;

public class Ray extends Body {

    private float heading;

    public Ray(Body one, Body two) {
        float w = one.getWidth();
        shape = new Rectangle(one.getCenterX() - w / 2, one.getCenterY(), 2,
{'fraction_non_alphanumeric': 0.11574468085106383, 'fraction_numerical': 0.005106382978723404, 'mean_word_length': 4.25, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '333797', 'n_tokens_mistral': 432, 'n_tokens_neox': 423, 'n_words': 88}